Avoid that ruby 1.9 redefines snprintf(3) etc.

Otherwise our custom printf specifiers won't work.
This commit is contained in:
Tobias Brunner 2012-12-10 11:41:37 +01:00
parent 12e70a7efc
commit caccc0e8cc
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@
#undef PACKAGE_STRING
#undef PACKAGE_BUGREPORT
#undef PACKAGE_URL
/* avoid redefintiion of snprintf etc. */
#define RUBY_DONT_SUBST
#include <ruby.h>
static dumm_t *dumm;