[PATCH vkd3d 2/2] vkd3d-shader: Undefine ERROR to avoid a compiler warning on Windows.
Alexandre Julliard
julliard at winehq.org
Tue Feb 8 08:09:51 CST 2022
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d-shader/preproc.l | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libs/vkd3d-shader/preproc.l b/libs/vkd3d-shader/preproc.l
index 54542331bed6..20cb0c357611 100644
--- a/libs/vkd3d-shader/preproc.l
+++ b/libs/vkd3d-shader/preproc.l
@@ -22,6 +22,8 @@
#include "preproc.tab.h"
+#undef ERROR /* defined in wingdi.h */
+
#define YYSTYPE PREPROC_YYSTYPE
#define YYLTYPE PREPROC_YYLTYPE
--
2.34.1
More information about the wine-devel
mailing list