GtkSharp/Source/OldStuff/sources/patches/gwin32registrykey-little-endian.patch

24 lines
979 B
Diff

diff -Nur glib-2.50.2.orig/gio/gwin32registrykey.h glib-2.50.2/gio/gwin32registrykey.h
--- glib-2.50.2.orig/gio/gwin32registrykey.h 2016-10-22 07:18:19.000000000 +0200
+++ glib-2.50.2/gio/gwin32registrykey.h 2017-01-20 10:00:20.512880131 +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;