|
|
@@ -860,11 +860,15 @@ glong g_utf8_strlen (const gchar *str, gssize max);
|
|
|
# define GUINT64_TO_LE(x) (x)
|
|
|
# define GUINT16_TO_LE(x) (x)
|
|
|
# define GUINT_TO_LE(x) (x)
|
|
|
+# define GUINT32_TO_BE(x) GUINT32_SWAP_LE_BE(x)
|
|
|
+# define GUINT32_FROM_BE(x) GUINT32_SWAP_LE_BE(x)
|
|
|
#else
|
|
|
# define GUINT32_TO_LE(x) GUINT32_SWAP_LE_BE(x)
|
|
|
# define GUINT64_TO_LE(x) GUINT64_SWAP_LE_BE(x)
|
|
|
# define GUINT16_TO_LE(x) GUINT16_SWAP_LE_BE(x)
|
|
|
# define GUINT_TO_LE(x) GUINT32_SWAP_LE_BE(x)
|
|
|
+# define GUINT32_TO_BE(x) (x)
|
|
|
+# define GUINT32_FROM_BE(x) (x)
|
|
|
#endif
|
|
|
|
|
|
#define GUINT32_FROM_LE(x) (GUINT32_TO_LE (x))
|