pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: global.h,v 1.26 1998/11/22 11:02:50 hubbe Exp $ +  * $Id: global.h,v 1.27 1999/12/02 01:06:07 hubbe Exp $    */   #ifndef GLOBAL_H   #define GLOBAL_H    -  + #if defined(__WINNT__) && !defined(__NT__) + #define __NT__ + #endif +    #ifndef _LARGEFILE_SOURCE   # define _FILE_OFFSET_BITS 64   # define _LARGEFILE_SOURCE   # define _LARGEFILE64_SOURCE 1   #endif      /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */
pike.git/src/global.h:91:   # endif   #endif      #include <stdio.h>      #ifdef HAVE_STDLIB_H   #include <stdlib.h>   #undef HAVE_STDLIB_H   #endif    + #ifdef HAVE_STDDEF_H + #include <stddef.h> + #undef HAVE_STDDEF_H + #endif +    #ifdef HAVE_MALLOC_H   #include <malloc.h>   #undef HAVE_MALLOC_H   #endif      #ifdef HAVE_UNISTD_H   #include <unistd.h>   #undef HAVE_UNISTD_H   #endif   
pike.git/src/global.h:121:   #ifdef HAVE_SYS_TYPES_H   #include <sys/types.h>   #undef HAVE_SYS_TYPES_H   #endif      #ifdef HAVE_MEMORY_H   #include <memory.h>   #undef HAVE_MEMORY_H   #endif    + #ifdef HAVE_WINDOWS_H + #include <windows.h> + #undef HAVE_WINDOWS_H + #endif      /* we here define a few types with more defined values */      #define INT64 long long      #if SIZEOF_SHORT >= 4   #define INT32 short   #else   #if SIZEOF_INT >= 4   #define INT32 int