diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-17 17:09:51 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-17 17:09:51 +0200 |
commit | cff7ba2315c0f62fa3679afa24ecea88da38a365 (patch) | |
tree | 2c55889c40fa4413a7d2d75ceafb0d3501f18462 /include | |
parent | 7f01e9970d211235fc8057de6dc41ba8ceafe795 (diff) |
Windows build fixed
Diffstat (limited to 'include')
-rw-r--r-- | include/zmq_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zmq_utils.h b/include/zmq_utils.h index 50a50f9..5b78e10 100644 --- a/include/zmq_utils.h +++ b/include/zmq_utils.h @@ -20,6 +20,10 @@ #ifndef __ZMQ_UTILS_H_INCLUDED__ #define __ZMQ_UTILS_H_INCLUDED__ +#ifdef __cplusplus +extern "C" { +#endif + /* Win32 needs special handling for DLL exports */ #if defined _WIN32 # if defined DLL_EXPORT @@ -46,4 +50,8 @@ ZMQ_EXPORT void zmq_sleep (int seconds_); #undef ZMQ_EXPORT +#ifdef __cplusplus +} +#endif + #endif |