Commit 12486fec authored by Martin Sustrik's avatar Martin Sustrik

Fix MSVC and SunStudio builds with OpenPGM

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 17e2ca71
......@@ -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
......
......@@ -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_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment