GtkSharp/sources/gwin32registrykey-little-endian.patch

24 lines
892 B
Diff
Raw Normal View History

--- glib-2.46.1.orig/gio/gwin32registrykey.h 2015-11-09 13:36:38.873084380 +0100
+++ glib-2.46.1/gio/gwin32registrykey.h 2015-11-09 13:37:20.124084380 +0100
@@ -37,18 +37,12 @@
G_WIN32_REGISTRY_VALUE_BINARY = 1,
G_WIN32_REGISTRY_VALUE_UINT32LE = 2,
G_WIN32_REGISTRY_VALUE_UINT32BE = 3,
-#if G_BYTE_ORDER == G_BIG_ENDIAN
- G_WIN32_REGISTRY_VALUE_UINT32 = G_WIN32_REGISTRY_VALUE_UINT32BE,
-#else
- G_WIN32_REGISTRY_VALUE_UINT32 = G_WIN32_REGISTRY_VALUE_UINT32LE,
-#endif
+ G_WIN32_REGISTRY_VALUE_UINT32 = 2,
G_WIN32_REGISTRY_VALUE_EXPAND_STR = 4,
G_WIN32_REGISTRY_VALUE_LINK = 5,
G_WIN32_REGISTRY_VALUE_MULTI_STR = 6,
G_WIN32_REGISTRY_VALUE_UINT64LE = 7,
-#if G_BYTE_ORDER == G_LITTLE_ENDIAN
- G_WIN32_REGISTRY_VALUE_UINT64 = G_WIN32_REGISTRY_VALUE_UINT64LE,
-#endif
+ G_WIN32_REGISTRY_VALUE_UINT64 = 7,
G_WIN32_REGISTRY_VALUE_STR = 8
} GWin32RegistryValueType;