Avoid that ruby 1.9 redefines snprintf(3) etc.
Otherwise our custom printf specifiers won't work.
This commit is contained in:
parent
12e70a7efc
commit
caccc0e8cc
|
@ -30,6 +30,8 @@
|
||||||
#undef PACKAGE_STRING
|
#undef PACKAGE_STRING
|
||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
#undef PACKAGE_URL
|
#undef PACKAGE_URL
|
||||||
|
/* avoid redefintiion of snprintf etc. */
|
||||||
|
#define RUBY_DONT_SUBST
|
||||||
#include <ruby.h>
|
#include <ruby.h>
|
||||||
|
|
||||||
static dumm_t *dumm;
|
static dumm_t *dumm;
|
||||||
|
|
Loading…
Reference in New Issue