Fix MSVC and SunStudio builds with OpenPGM

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2011-02-18 17:57:59 +01:00
parent 17e2ca71b4
commit 12486fecc4
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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_)