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.48 2000/08/10 12:17:07 grubba Exp $ +  * $Id: global.h,v 1.49 2000/08/11 14:58:25 grubba Exp $    */   #ifndef GLOBAL_H   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      /* The worlds most stringent C compiler? */   #ifdef __TenDRA__
pike.git/src/global.h:33:      /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */   #ifndef _PROTOTYPES   # define _PROTOTYPES   #endif /* !_PROTOTYPES */      /* +  * We want to use __builtin functions. +  */ + #ifndef __BUILTIN_VA_ARG_INCR + #define __BUILTIN_VA_ARG_INCR 1 + #endif /* !__BUILTIN_VA_ARG_INCR */ +  + /*    * Some structure forward declarations are needed.    */      /* This is needed for linux */   #ifdef MALLOC_REPLACED   #define NO_FIX_MALLOC   #endif      #ifndef STRUCT_PROGRAM_DECLARED   #define STRUCT_PROGRAM_DECLARED
pike.git/src/global.h:83:   #define GC2   #endif      #if defined(i386)   #ifndef HANDLES_UNALIGNED_MEMORY_ACCESS   #define HANDLES_UNALIGNED_MEMORY_ACCESS   #endif   #endif      /* AIX requires this to be the first thing in the file. */ - #ifdef __GNUC__ - # ifdef alloca - # undef alloca + #if HAVE_ALLOCA_H + # include <alloca.h> + # ifdef __GNUC__ + # ifdef alloca + # undef alloca + # endif + # define alloca __builtin_alloca   # endif - # define alloca __builtin_alloca +    #else - # if HAVE_ALLOCA_H - # include <alloca.h> + # ifdef __GNUC__ + # ifdef alloca + # undef alloca + # endif + # define alloca __builtin_alloca   # else   # ifdef _AIX    #pragma alloca   # else   # ifndef alloca /* predefined by HP cc +Olibcalls */ - char *alloca (); + void *alloca();   # endif   # endif   # endif   #endif      #ifdef __NT__   /* We are running NT */   #define FD_SETSIZE MAX_OPEN_FILEDESCRIPTORS   #endif