mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-18 11:39:02 +02:00
Windows build fixed
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user