Annotation of win32/gnome/glib/include/glibconfig.h.win32, revision 1.1

1.1     ! paf         1: /* glibconfig.h.win32.in Merged from two versions generated by configure for gcc and MSVC.  */
        !             2: /* glibconfig.h
        !             3:  *
        !             4:  * This is a generated file.  Please modify 'configure.in'
        !             5:  */
        !             6: 
        !             7: #ifndef __G_LIBCONFIG_H__
        !             8: #define __G_LIBCONFIG_H__
        !             9: 
        !            10: #include <glib/gmacros.h>
        !            11: 
        !            12: #ifdef _MSC_VER
        !            13: /* Make MSVC more pedantic, this is a recommended pragma list
        !            14:  * from _Win32_Programming_ by Rector and Newcomer.
        !            15:  */
        !            16: #pragma warning(error:4002)
        !            17: #pragma warning(error:4003)
        !            18: #pragma warning(1:4010)
        !            19: #pragma warning(error:4013)
        !            20: #pragma warning(1:4016)
        !            21: #pragma warning(error:4020)
        !            22: #pragma warning(error:4021)
        !            23: #pragma warning(error:4027)
        !            24: #pragma warning(error:4029)
        !            25: #pragma warning(error:4033)
        !            26: #pragma warning(error:4035)
        !            27: #pragma warning(error:4045)
        !            28: #pragma warning(error:4047)
        !            29: #pragma warning(error:4049)
        !            30: #pragma warning(error:4053)
        !            31: #pragma warning(error:4071)
        !            32: #pragma warning(disable:4101)
        !            33: #pragma warning(error:4150)
        !            34: 
        !            35: #pragma warning(disable:4244)  /* No possible loss of data warnings */
        !            36: #pragma warning(disable:4305)   /* No truncation from int to char warnings */
        !            37: #endif /* _MSC_VER */
        !            38: 
        !            39: #include <limits.h>
        !            40: #include <float.h>
        !            41: 
        !            42: G_BEGIN_DECLS
        !            43: 
        !            44: #define G_MINFLOAT     FLT_MIN
        !            45: #define G_MAXFLOAT     FLT_MAX
        !            46: #define G_MINDOUBLE    DBL_MIN
        !            47: #define G_MAXDOUBLE    DBL_MAX
        !            48: #define G_MINSHORT     SHRT_MIN
        !            49: #define G_MAXSHORT     SHRT_MAX
        !            50: #define G_MAXUSHORT    USHRT_MAX
        !            51: #define G_MININT       INT_MIN
        !            52: #define G_MAXINT       INT_MAX
        !            53: #define G_MAXUINT      UINT_MAX
        !            54: #define G_MINLONG      LONG_MIN
        !            55: #define G_MAXLONG      LONG_MAX
        !            56: #define G_MAXULONG     ULONG_MAX
        !            57: 
        !            58: #define G_MININT64     ((gint64)  0x8000000000000000)
        !            59: #define G_MAXINT64     ((gint64)  0x7fffffffffffffff)
        !            60: #define G_MAXUINT64    ((guint64) 0xffffffffffffffff)
        !            61: 
        !            62: typedef signed char gint8;
        !            63: typedef unsigned char guint8;
        !            64: typedef signed short gint16;
        !            65: typedef unsigned short guint16;
        !            66: #define G_GINT16_FORMAT "hi"
        !            67: #define G_GUINT16_FORMAT "hu"
        !            68: typedef signed int gint32;
        !            69: typedef unsigned int guint32;
        !            70: #define G_GINT32_FORMAT "i"
        !            71: #define G_GUINT32_FORMAT "u"
        !            72: #define G_HAVE_GINT64 1          /* deprecated, always true */
        !            73: 
        !            74: #ifndef _MSC_VER
        !            75: G_GNUC_EXTENSION typedef signed long long gint64;
        !            76: G_GNUC_EXTENSION typedef unsigned long long guint64;
        !            77: #else /* _MSC_VER */
        !            78: typedef signed __int64 gint64;
        !            79: typedef unsigned __int64 guint64;
        !            80: #endif /* _MSC_VER */
        !            81: 
        !            82: #ifndef _MSC_VER
        !            83: #define G_GINT64_CONSTANT(val) (G_GNUC_EXTENSION (val##LL))
        !            84: #else /* _MSC_VER */
        !            85: #define G_GINT64_CONSTANT(val) (val##i64)
        !            86: #endif /* _MSC_VER */
        !            87: #define G_GINT64_FORMAT "I64i"
        !            88: #define G_GUINT64_FORMAT "I64u"
        !            89: 
        !            90: #define GLIB_SIZEOF_VOID_P 4
        !            91: #define GLIB_SIZEOF_LONG   4
        !            92: #define GLIB_SIZEOF_SIZE_T 4
        !            93: 
        !            94: typedef gint32  gssize;
        !            95: typedef guint32 gsize;
        !            96: 
        !            97: #define GPOINTER_TO_INT(p)     ((gint)   (p))
        !            98: #define GPOINTER_TO_UINT(p)    ((guint)  (p))
        !            99: 
        !           100: #define GINT_TO_POINTER(i)     ((gpointer)  (i))
        !           101: #define GUINT_TO_POINTER(u)    ((gpointer)  (u))
        !           102: 
        !           103: #ifdef NeXT /* @#%@! NeXTStep */
        !           104: # define g_ATEXIT(proc)        (!atexit (proc))
        !           105: #else
        !           106: # define g_ATEXIT(proc)        (atexit (proc))
        !           107: #endif
        !           108: 
        !           109: #define g_memmove(d,s,n) G_STMT_START { memmove ((d), (s), (n)); } G_STMT_END
        !           110: 
        !           111: #define GLIB_MAJOR_VERSION 1
        !           112: #define GLIB_MINOR_VERSION 3
        !           113: #define GLIB_MICRO_VERSION 12
        !           114: 
        !           115: #define G_OS_WIN32
        !           116: #define G_PLATFORM_WIN32
        !           117: 
        !           118: 
        !           119: 
        !           120: #ifdef __cplusplus
        !           121: #define        G_HAVE_INLINE   1
        !           122: #else  /* !__cplusplus */
        !           123: #ifndef _MSC_VER
        !           124: #define G_HAVE_INLINE 1
        !           125: #else /* _MSC_VER */
        !           126: 
        !           127: #endif /* _MSC_VER */
        !           128: #define G_HAVE___INLINE 1
        !           129: #ifndef _MSC_VER
        !           130: #define G_HAVE___INLINE__ 1
        !           131: #endif /* not _MSC_VER */
        !           132: #endif /* !__cplusplus */
        !           133: 
        !           134: #ifndef _MSC_VER
        !           135: #ifndef __cplusplus
        !           136: # define G_HAVE_ISO_VARARGS 1
        !           137: #endif
        !           138: 
        !           139: #define G_HAVE_GNUC_VARARGS 1
        !           140: #endif /* not _MSC_VER */
        !           141: #define G_HAVE_GROWING_STACK 0
        !           142: 
        !           143: 
        !           144: #define G_THREADS_ENABLED
        !           145: #define G_THREADS_IMPL_WIN32
        !           146: typedef struct _GMutex* GStaticMutex;
        !           147: #define G_STATIC_MUTEX_INIT NULL
        !           148: #define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (mutex))
        !           149: /* This represents a system thread as used by the implementation. An
        !           150:  * alien implementaion, as loaded by g_thread_init can only count on
        !           151:  * "sizeof (gpointer)" bytes to store their info. We however need more
        !           152:  * for some of our native implementations. */
        !           153: typedef union _GSystemThread GSystemThread;
        !           154: union _GSystemThread
        !           155: {
        !           156:   char   data[4];
        !           157:   double dummy_double;
        !           158:   void  *dummy_pointer;
        !           159:   long   dummy_long;
        !           160: };
        !           161: 
        !           162: #define GINT16_TO_LE(val)      ((gint16) (val))
        !           163: #define GUINT16_TO_LE(val)     ((guint16) (val))
        !           164: #define GINT16_TO_BE(val)      ((gint16) GUINT16_SWAP_LE_BE (val))
        !           165: #define GUINT16_TO_BE(val)     (GUINT16_SWAP_LE_BE (val))
        !           166: #define GINT32_TO_LE(val)      ((gint32) (val))
        !           167: #define GUINT32_TO_LE(val)     ((guint32) (val))
        !           168: #define GINT32_TO_BE(val)      ((gint32) GUINT32_SWAP_LE_BE (val))
        !           169: #define GUINT32_TO_BE(val)     (GUINT32_SWAP_LE_BE (val))
        !           170: #define GINT64_TO_LE(val)      ((gint64) (val))
        !           171: #define GUINT64_TO_LE(val)     ((guint64) (val))
        !           172: #define GINT64_TO_BE(val)      ((gint64) GUINT64_SWAP_LE_BE (val))
        !           173: #define GUINT64_TO_BE(val)     (GUINT64_SWAP_LE_BE (val))
        !           174: #define GLONG_TO_LE(val)       ((glong) GINT32_TO_LE (val))
        !           175: #define GULONG_TO_LE(val)      ((gulong) GUINT32_TO_LE (val))
        !           176: #define GLONG_TO_BE(val)       ((glong) GINT32_TO_BE (val))
        !           177: #define GULONG_TO_BE(val)      ((gulong) GUINT32_TO_BE (val))
        !           178: #define GINT_TO_LE(val)                ((gint) GINT32_TO_LE (val))
        !           179: #define GUINT_TO_LE(val)       ((guint) GUINT32_TO_LE (val))
        !           180: #define GINT_TO_BE(val)                ((gint) GINT32_TO_BE (val))
        !           181: #define GUINT_TO_BE(val)       ((guint) GUINT32_TO_BE (val))
        !           182: #define G_BYTE_ORDER G_LITTLE_ENDIAN
        !           183: 
        !           184: #define GLIB_SYSDEF_POLLIN =1
        !           185: #define GLIB_SYSDEF_POLLOUT =4
        !           186: #define GLIB_SYSDEF_POLLPRI =2
        !           187: #define GLIB_SYSDEF_POLLERR =8
        !           188: #define GLIB_SYSDEF_POLLHUP =16
        !           189: #define GLIB_SYSDEF_POLLNVAL =32
        !           190: 
        !           191: #define G_MODULE_SUFFIX "dll"
        !           192: 
        !           193: G_END_DECLS
        !           194: 
        !           195: #endif /* GLIBCONFIG_H */

E-mail: