mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-24 07:21:32 +01:00
Fix MSVC and SunStudio builds with OpenPGM
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
17e2ca71b4
commit
12486fecc4
@ -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_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user