]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.cpp
win32: Re-fix the Windows build (namespace pollution via windows.h).
[pulseview.git] / pv / popups / channels.cpp
index ea5f5fbed8d10c91c61dc1d39cca1826030ab81b..bffd0dfefbb15e6182b6c4ed54ee5ae9ac3dbd27 100644 (file)
 
 #include <map>
 
+#ifdef _WIN32
+// Windows: Avoid boost/thread namespace pollution (which includes windows.h).
+#define NOGDI
+#define NORESOURCE
+#endif
 #include <boost/thread/locks.hpp>
 #include <boost/thread/shared_mutex.hpp>