[PATCH vkd3d 2/2] vkd3d-shader: Undefine ERROR to avoid a compiler warning on Windows.
8 Feb
2022
8 Feb
'22
2:09 p.m.
Signed-off-by: Alexandre Julliard <julliard(a)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
1410
Age (days ago)
1410
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Henri Verbeet