diff options
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r-- | src/zmq.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp index 62e50cd..6a1d396 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -60,6 +60,10 @@ #include <pgm/pgm.h> #endif +#if defined __GNUC__ && __GNUC__ >= 4 && !defined ZMQ_HAVE_WINDOWS +#pragma GCC visibility push(default) +#endif + void zmq_version (int *major_, int *minor_, int *patch_) { *major_ = ZMQ_VERSION_MAJOR; @@ -725,3 +729,7 @@ unsigned long zmq_stopwatch_stop (void *watch_) return (unsigned long) (end - start); } +#if defined __GNUC__ && __GNUC__ >= 4 && !defined ZMQ_HAVE_WINDOWS +#pragma GCC visibility pop +#endif + |