From: Jack Jansen Date: Fri, 12 May 2000 21:37:10 +0000 (+0000) Subject: Fixed to work again without USE_GUSI and with USE_MSL_MALLOC X-Git-Tag: v2.0b1~1744 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bfc2ebb01183d7aff7e9457ab562fa122213c89;p=python Fixed to work again without USE_GUSI and with USE_MSL_MALLOC --- diff --git a/Mac/Include/config.h b/Mac/Include/config.h index 5b6fa0a5bb..0c78ee53a5 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