From 9f7980e15f14c0d5f6b59e53b9bf939e62df20c9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Jul 2023 22:00:47 +0200 Subject: Rationalise #undef-ing of ERROR. --- src/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index fe662dd4..ccbe6083 100644 --- a/src/util.h +++ b/src/util.h @@ -55,6 +55,10 @@ LIBDCP_ENABLE_WARNINGS #include +/* windows.h defines this but we want to use it */ +#undef ERROR + + #define LIBDCP_UNUSED(x) (void)(x) -- cgit v1.2.3