| 1 | /* glibconfig.h |
| 2 | * |
| 3 | * This is a generated file. Please modify 'glibconfig.h.in' |
| 4 | */ |
| 5 | |
| 6 | #ifndef __GLIBCONFIG_H__ |
| 7 | #define __GLIBCONFIG_H__ |
| 8 | |
| 9 | #include <glib/gmacros.h> |
| 10 | |
| 11 | #include <limits.h> |
| 12 | #include <float.h> |
| 13 | #define GLIB_HAVE_ALLOCA_H |
| 14 | |
| 15 | /* Specifies that GLib's g_print*() functions wrap the |
| 16 | * system printf functions. This is useful to know, for example, |
| 17 | * when using glibc's register_printf_function(). |
| 18 | */ |
| 19 | #define GLIB_USING_SYSTEM_PRINTF |
| 20 | |
| 21 | /* #undef GLIB_STATIC_COMPILATION */ |
| 22 | /* #undef GOBJECT_STATIC_COMPILATION */ |
| 23 | |
| 24 | G_BEGIN_DECLS |
| 25 | |
| 26 | #define G_MINFLOAT FLT_MIN |
| 27 | #define G_MAXFLOAT FLT_MAX |
| 28 | #define G_MINDOUBLE DBL_MIN |
| 29 | #define G_MAXDOUBLE DBL_MAX |
| 30 | #define G_MINSHORT SHRT_MIN |
| 31 | #define G_MAXSHORT SHRT_MAX |
| 32 | #define G_MAXUSHORT USHRT_MAX |
| 33 | #define G_MININT INT_MIN |
| 34 | #define G_MAXINT INT_MAX |
| 35 | #define G_MAXUINT UINT_MAX |
| 36 | #define G_MINLONG LONG_MIN |
| 37 | #define G_MAXLONG LONG_MAX |
| 38 | #define G_MAXULONG ULONG_MAX |
| 39 | |
| 40 | typedef signed char gint8; |
| 41 | typedef unsigned char guint8; |
| 42 | |
| 43 | typedef signed short gint16; |
| 44 | typedef unsigned short guint16; |
| 45 | |
| 46 | #define G_GINT16_MODIFIER "h" |
| 47 | #define G_GINT16_FORMAT "hi" |
| 48 | #define G_GUINT16_FORMAT "hu" |
| 49 | |
| 50 | |
| 51 | typedef signed int gint32; |
| 52 | typedef unsigned int guint32; |
| 53 | |
| 54 | #define G_GINT32_MODIFIER "" |
| 55 | #define G_GINT32_FORMAT "i" |
| 56 | #define G_GUINT32_FORMAT "u" |
| 57 | |
| 58 | |
| 59 | #define G_HAVE_GINT64 1 /* deprecated, always true */ |
| 60 | |
| 61 | typedef signed long gint64; |
| 62 | typedef unsigned long guint64; |
| 63 | |
| 64 | #define G_GINT64_CONSTANT(val) (val##L) |
| 65 | #define G_GUINT64_CONSTANT(val) (val##UL) |
| 66 | |
| 67 | #define G_GINT64_MODIFIER "l" |
| 68 | #define G_GINT64_FORMAT "li" |
| 69 | #define G_GUINT64_FORMAT "lu" |
| 70 | |
| 71 | |
| 72 | #define GLIB_SIZEOF_VOID_P 8 |
| 73 | #define GLIB_SIZEOF_LONG 8 |
| 74 | #define GLIB_SIZEOF_SIZE_T 8 |
| 75 | #define GLIB_SIZEOF_SSIZE_T 8 |
| 76 | |
| 77 | typedef signed long gssize; |
| 78 | typedef unsigned long gsize; |
| 79 | #define G_GSIZE_MODIFIER "l" |
| 80 | #define G_GSSIZE_MODIFIER "l" |
| 81 | #define G_GSIZE_FORMAT "lu" |
| 82 | #define G_GSSIZE_FORMAT "li" |
| 83 | |
| 84 | #define G_MAXSIZE G_MAXULONG |
| 85 | #define G_MINSSIZE G_MINLONG |
| 86 | #define G_MAXSSIZE G_MAXLONG |
| 87 | |
| 88 | typedef gint64 goffset; |
| 89 | #define G_MINOFFSET G_MININT64 |
| 90 | #define G_MAXOFFSET G_MAXINT64 |
| 91 | |
| 92 | #define G_GOFFSET_MODIFIER G_GINT64_MODIFIER |
| 93 | #define G_GOFFSET_FORMAT G_GINT64_FORMAT |
| 94 | #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val) |
| 95 | |
| 96 | #define G_POLLFD_FORMAT "%d" |
| 97 | |
| 98 | #define GPOINTER_TO_INT(p) ((gint) (glong) (p)) |
| 99 | #define GPOINTER_TO_UINT(p) ((guint) (gulong) (p)) |
| 100 | |
| 101 | #define GINT_TO_POINTER(i) ((gpointer) (glong) (i)) |
| 102 | #define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u)) |
| 103 | |
| 104 | typedef signed long gintptr; |
| 105 | typedef unsigned long guintptr; |
| 106 | |
| 107 | #define G_GINTPTR_MODIFIER "l" |
| 108 | #define G_GINTPTR_FORMAT "li" |
| 109 | #define G_GUINTPTR_FORMAT "lu" |
| 110 | |
| 111 | #define GLIB_MAJOR_VERSION 2 |
| 112 | #define GLIB_MINOR_VERSION 62 |
| 113 | #define GLIB_MICRO_VERSION 3 |
| 114 | |
| 115 | #define G_OS_UNIX |
| 116 | |
| 117 | #define G_VA_COPY va_copy |
| 118 | #define G_VA_COPY_AS_ARRAY 1 |
| 119 | |
| 120 | |
| 121 | #ifndef __cplusplus |
| 122 | # define G_HAVE_ISO_VARARGS 1 |
| 123 | #endif |
| 124 | |
| 125 | #ifdef __cplusplus |
| 126 | # define G_HAVE_ISO_VARARGS 1 |
| 127 | #endif |
| 128 | |
| 129 | /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi |
| 130 | * is passed ISO vararg support is turned off, and there is no work |
| 131 | * around to turn it on, so we unconditionally turn it off. |
| 132 | */ |
| 133 | #if __GNUC__ == 2 && __GNUC_MINOR__ == 95 |
| 134 | # undef G_HAVE_ISO_VARARGS |
| 135 | #endif |
| 136 | |
| 137 | #define G_HAVE_GROWING_STACK 0 |
| 138 | #define G_HAVE_GNUC_VISIBILITY 1 |
| 139 | |
| 140 | #ifndef _MSC_VER |
| 141 | # define G_HAVE_GNUC_VARARGS 1 |
| 142 | #endif |
| 143 | |
| 144 | #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) |
| 145 | #define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) |
| 146 | #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) |
| 147 | #define G_GNUC_INTERNAL __hidden |
| 148 | #elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY) |
| 149 | #define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) |
| 150 | #else |
| 151 | #define G_GNUC_INTERNAL |
| 152 | #endif |
| 153 | |
| 154 | #define G_THREADS_ENABLED |
| 155 | #define G_THREADS_IMPL_POSIX |
| 156 | |
| 157 | #undef G_ATOMIC_OP_MEMORY_BARRIER_NEEDED |
| 158 | #define G_ATOMIC_LOCK_FREE |
| 159 | |
| 160 | #define GINT16_TO_LE(val) ((gint16) (val)) |
| 161 | #define GUINT16_TO_LE(val) ((guint16) (val)) |
| 162 | #define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val)) |
| 163 | #define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val)) |
| 164 | |
| 165 | #define GINT32_TO_LE(val) ((gint32) (val)) |
| 166 | #define GUINT32_TO_LE(val) ((guint32) (val)) |
| 167 | #define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val)) |
| 168 | #define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val)) |
| 169 | |
| 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 | |
| 175 | #define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val)) |
| 176 | #define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val)) |
| 177 | #define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val)) |
| 178 | #define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val)) |
| 179 | #define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val)) |
| 180 | #define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val)) |
| 181 | #define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val)) |
| 182 | #define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val)) |
| 183 | #define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val)) |
| 184 | #define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val)) |
| 185 | #define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val)) |
| 186 | #define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val)) |
| 187 | #define G_BYTE_ORDER G_LITTLE_ENDIAN |
| 188 | |
| 189 | #define GLIB_SYSDEF_POLLIN =1 |
| 190 | #define GLIB_SYSDEF_POLLOUT =4 |
| 191 | #define GLIB_SYSDEF_POLLPRI =2 |
| 192 | #define GLIB_SYSDEF_POLLHUP =16 |
| 193 | #define GLIB_SYSDEF_POLLERR =8 |
| 194 | #define GLIB_SYSDEF_POLLNVAL =32 |
| 195 | |
| 196 | #define G_MODULE_SUFFIX "so" |
| 197 | |
| 198 | typedef int GPid; |
| 199 | #define G_PID_FORMAT "i" |
| 200 | |
| 201 | #define GLIB_SYSDEF_AF_UNIX 1 |
| 202 | #define GLIB_SYSDEF_AF_INET 2 |
| 203 | #define GLIB_SYSDEF_AF_INET6 10 |
| 204 | |
| 205 | #define GLIB_SYSDEF_MSG_OOB 1 |
| 206 | #define GLIB_SYSDEF_MSG_PEEK 2 |
| 207 | #define GLIB_SYSDEF_MSG_DONTROUTE 4 |
| 208 | |
| 209 | #define G_DIR_SEPARATOR '/' |
| 210 | #define G_DIR_SEPARATOR_S "/" |
| 211 | #define G_SEARCHPATH_SEPARATOR ':' |
| 212 | #define G_SEARCHPATH_SEPARATOR_S ":" |
| 213 | |
| 214 | G_END_DECLS |
| 215 | |
| 216 | #endif /* __GLIBCONFIG_H__ */ |
| 217 | |