Ticket #17042: patch-glibconfig.h.diff
File patch-glibconfig.h.diff, 1.0 KB (added by jmroot (Joshua Root), 16 years ago) |
---|
-
glibconfig.h
old new 49 49 #define G_GUINT32_FORMAT "u" 50 50 #define G_HAVE_GINT64 1 /* deprecated, always true */ 51 51 52 #ifdef __LP64__ 52 53 typedef signed long gint64; 53 54 typedef unsigned long guint64; 55 #else 56 typedef signed long long gint64; 57 typedef unsigned long long guint64; 58 #endif 54 59 60 #ifdef __LP64__ 55 61 #define G_GINT64_CONSTANT(val) (val##L) 56 62 #define G_GUINT64_CONSTANT(val) (val##UL) 57 63 #define G_GINT64_MODIFIER "l" 58 64 #define G_GINT64_FORMAT "li" 59 65 #define G_GUINT64_FORMAT "lu" 66 #else 67 #define G_GINT64_CONSTANT(val) (val##LL) 68 #define G_GUINT64_CONSTANT(val) (val##ULL) 69 #define G_GINT64_MODIFIER "ll" 70 #define G_GINT64_FORMAT "lli" 71 #define G_GUINT64_FORMAT "llu" 72 #endif 60 73 74 #ifdef __LP64__ 61 75 #define GLIB_SIZEOF_VOID_P 8 62 76 #define GLIB_SIZEOF_LONG 8 63 77 #define GLIB_SIZEOF_SIZE_T 8 78 #else 79 #define GLIB_SIZEOF_VOID_P 4 80 #define GLIB_SIZEOF_LONG 4 81 #define GLIB_SIZEOF_SIZE_T 4 82 #endif 64 83 65 84 typedef signed long gssize; 66 85 typedef unsigned long gsize;