=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: include: Define __C89_NAMELESS early.

Alexandre Julliard julliard at winehq.org
Thu Jan 31 14:45:40 CST 2019


Module: vkd3d
Branch: master
Commit: 499294766198172d072969eb6a84735729e730ba
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=499294766198172d072969eb6a84735729e730ba

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Jan 31 11:29:32 2019 +0100

include: Define __C89_NAMELESS early.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/vkd3d_windows.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/include/vkd3d_windows.h b/include/vkd3d_windows.h
index 58432fb..7d63ead 100644
--- a/include/vkd3d_windows.h
+++ b/include/vkd3d_windows.h
@@ -20,6 +20,17 @@
 #define __VKD3D_WINDOWS_H
 #ifndef _INC_WINDOWS
 
+/* Nameless unions */
+#ifndef __C89_NAMELESS
+# ifdef NONAMELESSUNION
+#  define __C89_NAMELESS
+#  define __C89_NAMELESSUNIONNAME u
+# else
+#  define __C89_NAMELESS
+#  define __C89_NAMELESSUNIONNAME
+# endif /* NONAMELESSUNION */
+#endif  /* __C89_NAMELESS */
+
 #if !defined(_WIN32) || defined(__WIDL__)
 
 # if !defined(__WIDL__) && !defined(VKD3D_WIN32_WCHAR)
@@ -223,17 +234,6 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
 #endif  /* _WIN32 */
 
 
-/* Nameless unions */
-#ifndef __C89_NAMELESS
-# ifdef NONAMELESSUNION
-#  define __C89_NAMELESS
-#  define __C89_NAMELESSUNIONNAME u
-# else
-#  define __C89_NAMELESS
-#  define __C89_NAMELESSUNIONNAME
-# endif /* NONAMELESSUNION */
-#endif  /* __C89_NAMELESS */
-
 /* Define DECLSPEC_HIDDEN */
 #ifndef DECLSPEC_HIDDEN
 # if defined(__MINGW32__)




More information about the wine-cvs mailing list