diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-12 21:37:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-05-12 21:37:10 (GMT) |
commit | 7bfc2ebb01183d7aff7e9457ab562fa122213c89 (patch) | |
tree | fd31674379ce5996de860917d8c7a422d720d3ae | |
parent | 12e89e42d8ecf572429d6fa6678082a4a1fde728 (diff) | |
download | cpython-7bfc2ebb01183d7aff7e9457ab562fa122213c89.zip cpython-7bfc2ebb01183d7aff7e9457ab562fa122213c89.tar.gz cpython-7bfc2ebb01183d7aff7e9457ab562fa122213c89.tar.bz2 |
Fixed to work again without USE_GUSI and with USE_MSL_MALLOC
-rw-r--r-- | Mac/Include/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h index 5b6fa0a..0c78ee5 100644 --- a/Mac/Include/config.h +++ b/Mac/Include/config.h @@ -48,6 +48,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define USE_GUSI #endif +#ifndef USE_GUSI +#define DONT_HAVE_SYS_TYPES_H +#define DONT_HAVE_SYS_STAT_H +#define HAVE_STAT_H +#endif + /* Define if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ @@ -182,7 +188,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define HAVE_STDARG_PROTOTYPES /* Define if malloc(0) returns a NULL pointer */ +#ifdef USE_MSL_MALLOC +#define MALLOC_ZERO_RETURNS_NULL +#else #undef MALLOC_ZERO_RETURNS_NULL +#endif /* Define if you have POSIX threads */ #ifdef USE_GUSI2 @@ -384,7 +394,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #undef HAVE_GETPWENT /* Define if you have the gettimeofday function. */ +#ifdef USE_GUSI #define HAVE_GETTIMEOFDAY +#endif /* Define if you have the getwd function. */ #undef HAVE_GETWD |