dumm: Undefine _GNU_SOURCE before including <ruby.h>, as it usually redefines it
This commit is contained in:
1 parent
af494268fb
commit
9128666812
1 file changed
+2
@@ -32,6 +32,8 @@
|
||||
#undef PACKAGE_URL
|
||||
/* avoid redefintiion of snprintf etc. */
|
||||
#define RUBY_DONT_SUBST
|
||||
/* undef our _GNU_SOURCE, as it gets redefined by <ruby.h> */
|
||||
#undef _GNU_SOURCE
|
||||
#include <ruby.h>
|
||||
|
||||
static dumm_t *dumm;
|
||||
|
||||
Reference in new issue
Block a user