projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
try to improve undef-ing of ERROR.
[dcpomatic.git]
/
src
/
lib
/
cross.h
diff --git
a/src/lib/cross.h
b/src/lib/cross.h
index 4be121d2bb1daec1e46451366e26621ecef7ca63..4281700a77dbd63be719d17612a87aaf194ff552 100644
(file)
--- a/
src/lib/cross.h
+++ b/
src/lib/cross.h
@@
-29,6
+29,8
@@
#include <IOKit/pwr_mgt/IOPMLib.h>
#endif
#include <boost/filesystem.hpp>
+/* windows.h defines this but we want to use it */
+#undef ERROR
#include <boost/thread/mutex.hpp>
#include <boost/optional.hpp>