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.97 2004/05/10 21:45:13 agehall Exp $ + || $Id: global.h,v 1.98 2004/05/11 08:48:16 grubba Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      /* Mingw32 workarounds */   #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__)   #define __NT__   #endif      #ifndef _LARGEFILE_SOURCE   # define _FILE_OFFSET_BITS 64   # define _LARGEFILE_SOURCE - # define _LARGEFILE64_SOURCE 1 + /* # define _LARGEFILE64_SOURCE 1 */ /* This one is for explicit 64bit. */   #endif      /* HPUX needs these too... */   #ifndef __STDC_EXT__   # define __STDC_EXT__   #endif /* !__STDC_EXT__ */   #ifndef _PROTOTYPES   # define _PROTOTYPES   #endif /* !_PROTOTYPES */   
pike.git/src/global.h:38: Inside #if defined(__NT__) and #if undefined(WIN32_LEAN_AND_MEAN)
   */   #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    - /* Mingw32 needs this to define stuff correctly. */ - #ifdef _WIN32_WINDOWS + /* We want WinNT 5.0 API's if available. */ + #if !defined(_WIN32_WINDOWS) || (_WIN32_WINDOWS < 0x500)   #undef _WIN32_WINDOWS -  + #define _WIN32_WINDOWS 0x0500   #endif - #ifdef _WIN32_WINNT +  + #if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x500)   #undef _WIN32_WINNT -  + #define _WIN32_WINNT 0x0500   #endif    - #define _WIN32_WINDOWS 0x0500 - #define _WIN32_WINNT 0x0500 -  +    #endif /* __NT__ */      /*    * We want to use __builtin functions.    */   #ifndef __BUILTIN_VA_ARG_INCR   #define __BUILTIN_VA_ARG_INCR 1   #endif /* !__BUILTIN_VA_ARG_INCR */      /*