mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
include: Define __C89_NAMELESS early.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0bbf92404d
commit
4992947661
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user