summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pgm_socket.hpp5
-rw-r--r--src/zmq.cpp6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/pgm_socket.hpp b/src/pgm_socket.hpp
index c8b6ac5..e6216de 100644
--- a/src/pgm_socket.hpp
+++ b/src/pgm_socket.hpp
@@ -31,6 +31,11 @@
#define __PGM_WININT_H__
#include <pgm/pgm.h>
+// TODO: OpenPGM redefines bool -- remove this once OpenPGM is fixed.
+#if defined bool
+#undef bool
+#endif
+
#include "options.hpp"
namespace zmq
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 1d17b15..037f6c2 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -57,6 +57,12 @@
#if defined ZMQ_HAVE_OPENPGM
#define __PGM_WININT_H__
#include <pgm/pgm.h>
+
+// TODO: OpenPGM redefines bool -- remove this once OpenPGM is fixed.
+#if defined bool
+#undef bool
+#endif
+
#endif
void zmq_version (int *major_, int *minor_, int *patch_)