fixup for using ObjC2 blocks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38586 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-05-29 15:41:23 +00:00
parent f6adb66c4e
commit 7296f0f415

View file

@ -56,6 +56,12 @@ static NSLock *classLock = nil;
@end @end
/* The ObjC __block define might conflict with system headers ...
* */
#if defined(__block)
#undef __block
#endif
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h> #include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h>