mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Export objc_enumerationMutation.
When using clang a call to this is inserted by the compiler, so we need to always export it.
This commit is contained in:
parent
7800e27879
commit
c52f1e3223
1 changed files with 5 additions and 4 deletions
|
@ -1,14 +1,15 @@
|
|||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
GS_EXPORT void objc_enumerationMutation(id);
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#ifdef __clang__
|
||||
#define FOR_IN(type, var, collection) \
|
||||
for (type var in collection)\
|
||||
{
|
||||
#define END_FOR_IN(collection) }
|
||||
#else
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
void objc_enumerationMutation(id);
|
||||
#pragma GCC diagnostic pop
|
||||
#define FOR_IN(type, var, c) \
|
||||
do\
|
||||
{\
|
||||
|
|
Loading…
Reference in a new issue