0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Windows build fixed

This commit is contained in:
Martin Sustrik 2010-06-17 17:09:51 +02:00
parent 7f01e9970d
commit cff7ba2315
6 changed files with 9 additions and 16 deletions

View File

@ -165,10 +165,6 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\local_lat.cpp"
>

View File

@ -165,10 +165,6 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\local_thr.cpp"
>

View File

@ -165,10 +165,6 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\remote_lat.cpp"
>

View File

@ -165,10 +165,6 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\remote_thr.cpp"
>

View File

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

View File

@ -18,6 +18,7 @@
*/
#include "../include/zmq.h"
#include "../include/zmq_utils.h"
#include <string.h>
#include <errno.h>