pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:1:
/*\ ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ /*
-
* $Id: global.h,v 1.
44
2000/
07
/
28
17
:
16
:
55
hubbe
Exp $
+
* $Id: global.h,v 1.
45
2000/
08
/
03
12
:
34
:
02
grubba
Exp $
*/ #ifndef GLOBAL_H #define GLOBAL_H #if defined(__WINNT__) && !defined(__NT__) #define __NT__ #endif /* The worlds most stringent C compiler? */ #ifdef __TenDRA__
pike.git/src/global.h:196:
#define LONGEST INT64 #else #define LONGEST INT32 #endif #define SIZE_T unsigned INT32 #define TYPE_T unsigned INT8 #define TYPE_FIELD unsigned INT16
+
#if SIZEOF_CHAR_P > SIZEOF_FLOAT
#ifndef WITH_DOUBLE_PRECISION_SVALUE
-
+
#define WITH_DOUBLE_PRECISION_SVALUE
+
#endif /* !WITH_DOUBLE_PRECISION_SVALUE */
+
#endif /* sizeof(char *) > sizeof(float) */
+
+
#ifndef WITH_DOUBLE_PRECISION_SVALUE
#define FLOAT_TYPE float #else #ifdef WITH_LONG_DOUBLE_PRECISION_SVALUE #define FLOAT_TYPE long double #else #define FLOAT_TYPE double #endif /* long double */ #endif /* double */
-
+
#if SIZEOF_CHAR_P > 4
+
#define INT_TYPE LONGEST
+
#else /* !(sizeof(char *) > 4) */
#define INT_TYPE INT32
-
+
#endif /* sizeof(char *) > 4 */
#define B1_T char #if SIZEOF_SHORT == 2 #define B2_T short #elif SIZEOF_INT == 2 #define B2_T int #endif #if SIZEOF_SHORT == 4
pike.git/src/global.h:228:
#elif SIZEOF_INT == 4 #define B4_T int #elif SIZEOF_LONG == 4 #define B4_T long #endif #if SIZEOF_INT == 8 #define B8_T int #elif SIZEOF_LONG == 8 #define B8_T long
+
#elif (SIZEOF_LONG_LONG - 0) == 8
+
#define B8_T long long
+
#elif (SIZEOF___INT64 - 0) == 8
+
#define B8_T __int64
#elif SIZEOF_CHAR_P == 8 #define B8_T char * #elif defined(B4_T) struct b8_t_s { B4_T x,y; }; #define B8_T struct b8_t_s #endif #if defined(B8_T) struct b16_t_s { B8_T x,y; }; #define B16_T struct b16_t_s