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.93 2003/11/07 17:53:15 mast Exp $ + || $Id: global.h,v 1.94 2003/11/07 18:28:05 mast Exp $   */      #ifndef GLOBAL_H   #define GLOBAL_H      #if defined(__WINNT__) && !defined(__NT__)   #define __NT__   #endif      #ifndef _LARGEFILE_SOURCE
pike.git/src/global.h:234:   #define B16_T struct b16_t_s   #endif      /* INT_TYPE stuff */   #ifndef MAX_INT_TYPE   # if defined (WITH_SHORT_INT)      # define MAX_INT_TYPE SHRT_MAX   # define MIN_INT_TYPE SHRT_MIN   # define PRINTPIKEINT "h" + # define INT_ARG_TYPE int      # elif defined (WITH_INT_INT)      # define MAX_INT_TYPE INT_MAX   # define MIN_INT_TYPE INT_MIN   # define PRINTPIKEINT ""      # elif defined (WITH_LONG_INT)      # define MAX_INT_TYPE LONG_MAX
pike.git/src/global.h:261:   # define MIN_INT_TYPE LLONG_MIN   # else   # define MAX_INT_TYPE LONG_LONG_MAX   # define MIN_INT_TYPE LONG_LONG_MIN   # endif   # define PRINTPIKEINT "ll"      # endif   #endif    + /* INT_ARG_TYPE is a type suitable for argument passing that at least +  * can hold an INT_TYPE value. */ + #ifndef INT_ARG_TYPE + #define INT_ARG_TYPE INT_TYPE + #endif +    #if SIZEOF_INT_TYPE - 0 == 0   # error Unsupported type chosen for native pike integers.   #endif      #if SIZEOF_INT_TYPE != 4   # define INT_TYPE_INT32_CONVERSION   #endif      /* FLOAT_TYPE stuff */   #if defined (WITH_LONG_DOUBLE_PRECISION_SVALUE)
pike.git/src/global.h:308:   # define PIKEFLOAT_MANT_DIG FLT_MANT_DIG   # define PIKEFLOAT_DIG FLT_DIG   # define PIKEFLOAT_MIN_EXP FLT_MIN_EXP   # define PIKEFLOAT_MAX_EXP FLT_MAX_EXP   # define PIKEFLOAT_MIN_10_EXP FLT_MIN_10_EXP   # define PIKEFLOAT_MAX_10_EXP FLT_MAX_10_EXP   # define PIKEFLOAT_MAX FLT_MAX   # define PIKEFLOAT_MIN FLT_MIN   # define PIKEFLOAT_EPSILON FLT_EPSILON   # define PRINTPIKEFLOAT "" + # define FLOAT_ARG_TYPE double      #endif    -  + /* FLOAT_ARG_TYPE is a type suitable for argument passing that at +  * least can hold a FLOAT_TYPE value. */ + #ifndef FLOAT_ARG_TYPE + #define FLOAT_ARG_TYPE FLOAT_TYPE + #endif +    #if SIZEOF_FLOAT_TYPE - 0 == 0   #error Unsupported type chosen for pike floats.   #endif      typedef unsigned char p_wchar0;   typedef unsigned INT16 p_wchar1;   typedef unsigned INT32 p_wchar2;      typedef struct p_wchar_p   {