Skip to content

Commit 68a6a38

Browse files
committed
Merge pull request #1325 from keent/master
Problem: CZMQ doesn't build with MSVC without DRAFT_API definition
2 parents 2141a1e + 523981e commit 68a6a38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/czmq_library.h

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
CZMQ_MAKE_VERSION(CZMQ_VERSION_MAJOR, CZMQ_VERSION_MINOR, CZMQ_VERSION_PATCH)
3838

3939
#if defined (__WINDOWS__)
40+
#define CZMQ_BUILD_DRAFT_API
4041
# if defined LIBCZMQ_STATIC
4142
# define CZMQ_EXPORT
4243
# elif defined LIBCZMQ_EXPORTS
@@ -177,6 +178,7 @@ typedef struct _ztrie_t ztrie_t;
177178
#include "zsocket.h"
178179
#include "zsockopt.h"
179180
#include "zthread.h"
181+
180182
#ifdef CZMQ_BUILD_DRAFT_API
181183
#include "zproc.h"
182184
#include "ztrie.h"

0 commit comments

Comments
 (0)