pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1: Inside #if undefined(GLOBAL_H)
+ /*\ + ||| This file a part of uLPC, and is copyright by Fredrik Hubinette + ||| uLPC is distributed as GPL (General Public License) + ||| See the files COPYING and DISCLAIMER for more information. + \*/   #ifndef GLOBAL_H   #define GLOBAL_H -  +  + #define POSIX_SOURCE +    /*    * Some structure forward declarations are needed.    */      /* This is needed for linux */   #ifdef MALLOC_REPLACED   #define NO_FIX_MALLOC   #endif      struct program;   struct function;   struct svalue;   struct sockaddr;   struct object;   struct array;   struct svalue;    -  + #include "machine.h"   #include "config.h"    -  + /* AIX requires this to be the first thing in the file. */ + #ifdef __GNUC__ + # ifdef alloca + # undef alloca + # endif + # define alloca __builtin_alloca + #else + # if HAVE_ALLOCA_H + # include <alloca.h> + # else + # ifdef _AIX + #pragma alloca + # else + # ifndef alloca /* predefined by HP cc +Olibcalls */ + char *alloca (); + # endif + # endif + # endif + #endif +    #include <stdio.h>      #ifdef HAVE_STDLIB_H   #include <stdlib.h>   #endif      #ifdef HAVE_UNISTD_H   #include <unistd.h>   #endif