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.81 2003/03/12 14:29:56 grubba Exp $ + || $Id: global.h,v 1.82 2003/03/28 15:47:56 mast Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      #ifndef _LARGEFILE_SOURCE
pike.git/src/global.h:171:   #ifdef HAVE_WINDOWS_H   #include <windows.h>   #undef HAVE_WINDOWS_H   #endif         /* we here define a few types with more defined values */      #if SIZEOF_LONG >= 8   #define INT64 long + #define SIZEOF_INT64 SIZEOF_LONG + #define MAX_INT64 LONG_MAX + #define MIN_INT64 LONG_MIN   #else   #if SIZEOF___INT64 - 0 >= 8   #define INT64 __int64 -  + #define SIZEOF_INT64 SIZEOF___INT64 + #define MAX_INT64 _I64_MAX + #define MIN_INT64 _I64_MIN   #else   #if SIZEOF_LONG_LONG - 0 >= 8   #define INT64 long long -  + #define SIZEOF_INT64 SIZEOF_LONG_LONG + #ifdef LLONG_MAX + #define MAX_INT64 LLONG_MAX + #define MIN_INT64 LLONG_MIN + #else + #define MAX_INT64 LONG_LONG_MAX + #define MIN_INT64 LONG_LONG_MIN   #endif   #endif   #endif -  + #endif      #if SIZEOF_SHORT >= 4   #define INT32 short   #else   #if SIZEOF_INT >= 4   #define INT32 int   #else   #define INT32 long   #endif   #endif      #define MAX_INT32 2147483647   #define MIN_INT32 (-2147483647-1)      #if SIZEOF_INT_TYPE == 4   #define MAX_INT_TYPE MAX_INT32   #define MIN_INT_TYPE MIN_INT32   #else   #if SIZEOF_INT_TYPE == 8 -  + #ifdef INT64 + #define MAX_INT_TYPE MAX_INT64 + #define MIN_INT_TYPE MIN_INT64 + #else   #define MAX_INT_TYPE 9223372036854775807LL   #define MIN_INT_TYPE (-9223372036854775807LL-1) -  + #endif   #else   #error Unsupported INT_TYPE size   #endif   #endif      #if SIZEOF_INT_TYPE != 4   #define INT_TYPE_INT32_CONVERSION   #endif      #define INT16 short