diff -r 09d0d209d06d -r 0c24586f579a ext/bsdjail.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ext/bsdjail.h Thu Oct 16 02:43:08 2008 +0000 @@ -0,0 +1,31 @@ + + +#include +#include + +#include +#include /* For rb_dbl2big() */ + +#include + + + +/* Debugging functions/macros */ +#ifdef HAVE_STDARG_PROTOTYPES +#include +#define va_init_list(a,b) va_start(a,b) +extern void rbjail_debug(const char *fmt, ...); +#else +#include +#define va_init_list(a,b) va_start(a) +extern void rbjail_debug(fmt, va_alist); +#endif + + +/* Debugging macro */ +#if DEBUG +# define debugMsg(f) rbjail_debug f +#else /* ! DEBUG */ +# define debugMsg(f) +#endif /* DEBUG */ +