diff --git a/src/bindings/perl/Makefile.PL b/src/bindings/perl/Makefile.PL index c9bf9db..4e457fc 100644 --- a/src/bindings/perl/Makefile.PL +++ b/src/bindings/perl/Makefile.PL @@ -10,6 +10,6 @@ WriteMakefile( LIBS => ["-lhammer"], OBJECT => 'hammer_wrap.o', INC => '-I../..', - CCFLAGS => "$Config{ccflags} -DSWIG -DHAMMER_INTERNAL__NO_STDARG_H -std=gnu99", + CCFLAGS => "$Config{ccflags} -DSWIG -std=gnu99", ); diff --git a/src/hammer.h b/src/hammer.h index e536c0b..7715774 100644 --- a/src/hammer.h +++ b/src/hammer.h @@ -34,9 +34,10 @@ extern "C" { #endif #ifndef __cplusplus -#ifndef HAMMER_INTERNAL__NO_STDARG_H -typedef int bool; -#endif // HAMMER_INTERNAL__NO_STDARG_H +#include + //#ifndef HAMMER_INTERNAL__NO_STDARG_H + //typedef int bool; + //#endif // HAMMER_INTERNAL__NO_STDARG_H #endif typedef struct HParseState_ HParseState;