Fix name clash of ERROR with windows.h
authorCarl Hetherington <cth@carlh.net>
Sat, 23 Jan 2021 08:30:44 +0000 (09:30 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 23 Jan 2021 08:30:44 +0000 (09:30 +0100)
src/verify.h

index b6722143848281f37eec0e6ee1ba647fb07297a0..ee90b2262d1da61d0f7412e673c2db6e313df2b8 100644 (file)
@@ -40,6 +40,9 @@
 #include <string>
 #include <vector>
 
+/* Something in windows.h defines this */
+#undef ERROR
+
 namespace dcp {
 
 class VerificationNote