pike.git / src / global.h

version» Context lines:

pike.git/src/global.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: global.h,v 1.108 2006/08/02 15:00:28 mast Exp $ + || $Id: global.h,v 1.109 2006/08/09 18:31:36 mast Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      /* Mingw32 workarounds */   #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__)   #define __NT__   #endif   
pike.git/src/global.h:210: Inside #if defined(HAVE_DEVICES_TIMER_H)
  /* On AmigaOS, struct timeval is defined in a variety of places    and a variety of ways. Making sure <devices/timer.h> is included    first brings some amount of order to the chaos. */   #include <devices/timer.h>   #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   #if !defined(__FreeBSD__) && !defined(__OpenBSD__)   /* FreeBSD and OpenBSD has <malloc.h>, but it just contains a warning... */   #include <malloc.h>   #endif /* !__FreeBSD__ && !__OpenBSD */ - #undef HAVE_MALLOC_H +    #endif      #ifdef HAVE_UNISTD_H   #include <unistd.h> - #undef HAVE_UNISTD_H +    #endif      #ifdef HAVE_STRING_H   #include <string.h> - #undef HAVE_STRING_H +    #endif      #ifdef HAVE_LIMITS_H   #include <limits.h> - #undef HAVE_LIMITS_H +    #endif      #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      #include <float.h>      /* Get INT64, INT32, INT16, INT8, et al. */   #include "pike_int_types.h"      #define SIZE_T unsigned INT32      #define TYPE_T unsigned int