Remove G_HAVE_GINT64 conditionalization.
authorJoshua N Pritikin <vishnu@src.gnome.org>
Thu, 11 Oct 2001 03:06:49 +0000 (03:06 +0000)
committerJoshua N Pritikin <vishnu@src.gnome.org>
Thu, 11 Oct 2001 03:06:49 +0000 (03:06 +0000)
* glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
conditionalization.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c
glib/gtypes.h

index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index d31cd63e746017bcb2b61e57fbb14a7b08023ba7..0129819fc3a2f4eed47543b434e8eca73fed9a75 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 10 20:07:36 2001  Joshua N Pritikin  <vishnu@pobox.com>
+
+       * glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64
+       conditionalization.
+
 Wed Oct 10 17:34:15 2001  Joshua N Pritikin  <vishnu@pobox.com>
 
        * configure.in: Un-conditionalize and require a 64-bit integer
index a72afb9252a83c78b3caebd085f628dc9a2826de..fd6461be51f804ef4ed8fcb4ba1079f9c926bdf3 100644 (file)
@@ -1048,11 +1048,7 @@ printf_string_upper_bound (const gchar *format,
                    conv_len *= 2;
                  if (spec.mod_extra_long)
                    {
-#ifdef G_HAVE_GINT64
                      (void) va_arg (args, gint64);
-#else /* !G_HAVE_GINT64 */
-                     (void) va_arg (args, long);
-#endif /* !G_HAVE_GINT64 */
                    }
                  else if (spec.mod_long)
                    (void) va_arg (args, long);
index 27597b700667b1996f81a8a1bde4c26bdb1b9ec6..20aa82782e502184e791bd4aeeffed37a2f68397 100644 (file)
@@ -160,8 +160,7 @@ typedef void            (*GFreeFunc)            (gpointer       data);
 #  define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val))
 #endif /* __i386__ */
 
-#ifdef G_HAVE_GINT64
-#  define GUINT64_SWAP_LE_BE_CONSTANT(val)     ((guint64) ( \
+#define GUINT64_SWAP_LE_BE_CONSTANT(val)       ((guint64) ( \
       (((guint64) (val) &                                              \
        (guint64) G_GINT64_CONSTANT(0x00000000000000ffU)) << 56) |      \
       (((guint64) (val) &                                              \
@@ -178,8 +177,8 @@ typedef void            (*GFreeFunc)            (gpointer       data);
        (guint64) G_GINT64_CONSTANT(0x00ff000000000000U)) >> 40) |      \
       (((guint64) (val) &                                              \
        (guint64) G_GINT64_CONSTANT(0xff00000000000000U)) >> 56)))
-#  if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
-#    define GUINT64_SWAP_LE_BE_X86(val) \
+#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
+#  define GUINT64_SWAP_LE_BE_X86(val) \
        (__extension__                                          \
         ({ union { guint64 __ll;                               \
                    guint32 __l[2]; } __r;                      \
@@ -194,10 +193,9 @@ typedef void            (*GFreeFunc)            (gpointer       data);
                __r.__l[1] = GUINT32_SWAP_LE_BE (__w.__l[0]);   \
              }                                                 \
          __r.__ll; }))
-#    define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86 (val))
-#  else /* !__i386__ */
-#    define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT(val))
-#  endif
+#  define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86 (val))
+#else /* !__i386__ */
+#  define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT(val))
 #endif
 
 #define GUINT16_SWAP_LE_PDP(val)       ((guint16) (val))
@@ -221,12 +219,10 @@ typedef void            (*GFreeFunc)            (gpointer       data);
 #define GINT32_FROM_BE(val)    (GINT32_TO_BE (val))
 #define GUINT32_FROM_BE(val)   (GUINT32_TO_BE (val))
 
-#ifdef G_HAVE_GINT64
 #define GINT64_FROM_LE(val)    (GINT64_TO_LE (val))
 #define GUINT64_FROM_LE(val)   (GUINT64_TO_LE (val))
 #define GINT64_FROM_BE(val)    (GINT64_TO_BE (val))
 #define GUINT64_FROM_BE(val)   (GUINT64_TO_BE (val))
-#endif
 
 #define GLONG_FROM_LE(val)     (GLONG_TO_LE (val))
 #define GULONG_FROM_LE(val)    (GULONG_TO_LE (val))