Define NULL ifndef.

This commit is contained in:
mainzelm 2002-09-16 13:32:09 +00:00
parent 1b7c49c33c
commit f0e7b6a43f
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@
#include "scheme48.h" /* $SCHEME48/c/scheme48.h */ #include "scheme48.h" /* $SCHEME48/c/scheme48.h */
#include <sys/time.h> #include <sys/time.h>
#ifndef NULL
#define NULL 0
#endif
/* maximum value for random_integer: min(S48_MAX_FIXNUM_VALUE, m1) */ /* maximum value for random_integer: min(S48_MAX_FIXNUM_VALUE, m1) */
#define m_max (((long)1 << 29) - 1) #define m_max (((long)1 << 29) - 1)