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.91 2003/05/01 15:59:19 grubba Exp $ + || $Id: global.h,v 1.92 2003/05/02 12:55:29 grubba Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      #ifndef _LARGEFILE_SOURCE
pike.git/src/global.h:24: Inside #if undefined(_PROTOTYPES)
  #endif /* !__STDC_EXT__ */   #ifndef _PROTOTYPES   # define _PROTOTYPES   #endif /* !_PROTOTYPES */      /* And Linux wants this one... */   #ifndef _GNU_SOURCE   #define _GNU_SOURCE   #endif /* !_GNU_SOURCE */    + #ifdef __NT__   /* To get <windows.h> to stop including the entire OS,    * we need to define this one.    */   #ifndef WIN32_LEAN_AND_MEAN   #define WIN32_LEAN_AND_MEAN   #endif    -  + /* We also need to ensure that we get the WIN32 APIs. */ + #ifndef WIN32 + #define WIN32 100 /* WinNT 1.0 */ + #endif + #endif /* __NT__ */ +    /*    * 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.    */