mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-06 21:00:07 +02:00
Remove G_HAVE_GINT64 conditionalization.
* glib/gmessages.c glib/gtypes.h: Remove G_HAVE_GINT64 conditionalization.
This commit is contained in:
parent
04e753ab88
commit
dbf99df7e3
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -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>
|
Wed Oct 10 17:34:15 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||||
|
|
||||||
* configure.in: Un-conditionalize and require a 64-bit integer
|
* configure.in: Un-conditionalize and require a 64-bit integer
|
||||||
|
@ -1048,11 +1048,7 @@ printf_string_upper_bound (const gchar *format,
|
|||||||
conv_len *= 2;
|
conv_len *= 2;
|
||||||
if (spec.mod_extra_long)
|
if (spec.mod_extra_long)
|
||||||
{
|
{
|
||||||
#ifdef G_HAVE_GINT64
|
|
||||||
(void) va_arg (args, gint64);
|
(void) va_arg (args, gint64);
|
||||||
#else /* !G_HAVE_GINT64 */
|
|
||||||
(void) va_arg (args, long);
|
|
||||||
#endif /* !G_HAVE_GINT64 */
|
|
||||||
}
|
}
|
||||||
else if (spec.mod_long)
|
else if (spec.mod_long)
|
||||||
(void) va_arg (args, long);
|
(void) va_arg (args, long);
|
||||||
|
@ -160,7 +160,6 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val))
|
# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val))
|
||||||
#endif /* __i386__ */
|
#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) (val) & \
|
||||||
(guint64) G_GINT64_CONSTANT(0x00000000000000ffU)) << 56) | \
|
(guint64) G_GINT64_CONSTANT(0x00000000000000ffU)) << 56) | \
|
||||||
@ -198,7 +197,6 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
#else /* !__i386__ */
|
#else /* !__i386__ */
|
||||||
# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT(val))
|
# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT(val))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#define GUINT16_SWAP_LE_PDP(val) ((guint16) (val))
|
#define GUINT16_SWAP_LE_PDP(val) ((guint16) (val))
|
||||||
#define GUINT16_SWAP_BE_PDP(val) (GUINT16_SWAP_LE_BE (val))
|
#define GUINT16_SWAP_BE_PDP(val) (GUINT16_SWAP_LE_BE (val))
|
||||||
@ -221,12 +219,10 @@ typedef void (*GFreeFunc) (gpointer data);
|
|||||||
#define GINT32_FROM_BE(val) (GINT32_TO_BE (val))
|
#define GINT32_FROM_BE(val) (GINT32_TO_BE (val))
|
||||||
#define GUINT32_FROM_BE(val) (GUINT32_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 GINT64_FROM_LE(val) (GINT64_TO_LE (val))
|
||||||
#define GUINT64_FROM_LE(val) (GUINT64_TO_LE (val))
|
#define GUINT64_FROM_LE(val) (GUINT64_TO_LE (val))
|
||||||
#define GINT64_FROM_BE(val) (GINT64_TO_BE (val))
|
#define GINT64_FROM_BE(val) (GINT64_TO_BE (val))
|
||||||
#define GUINT64_FROM_BE(val) (GUINT64_TO_BE (val))
|
#define GUINT64_FROM_BE(val) (GUINT64_TO_BE (val))
|
||||||
#endif
|
|
||||||
|
|
||||||
#define GLONG_FROM_LE(val) (GLONG_TO_LE (val))
|
#define GLONG_FROM_LE(val) (GLONG_TO_LE (val))
|
||||||
#define GULONG_FROM_LE(val) (GULONG_TO_LE (val))
|
#define GULONG_FROM_LE(val) (GULONG_TO_LE (val))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user