summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-07-25 22:00:47 +0200
committerCarl Hetherington <cth@carlh.net>2023-07-26 23:02:51 +0200
commit9f7980e15f14c0d5f6b59e53b9bf939e62df20c9 (patch)
tree7c0a1a221dd3b3c1c5b600dde99bf81eaaab93f0 /src/util.h
parentd4270052ecfd3f75314fc8ea0e22c20384ff8b3c (diff)
Rationalise #undef-ing of ERROR.tidy-eq-options
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
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 <stdint.h>
+/* windows.h defines this but we want to use it */
+#undef ERROR
+
+
#define LIBDCP_UNUSED(x) (void)(x)