From af9bf3bbf201e8bebde9ec290b94681a7888324b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 8 Feb 2022 15:09:51 +0100 Subject: [PATCH] vkd3d-shader: Undefine ERROR to avoid a compiler warning on Windows. Signed-off-by: Alexandre Julliard Signed-off-by: Henri Verbeet --- 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 54542331..20cb0c35 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