Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: CZMQ doesn't build with MSVC without DRAFT_API definition #1325

Merged
merged 1 commit into from
Jan 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/czmq_library.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
CZMQ_MAKE_VERSION(CZMQ_VERSION_MAJOR, CZMQ_VERSION_MINOR, CZMQ_VERSION_PATCH)

#if defined (__WINDOWS__)
#define CZMQ_BUILD_DRAFT_API
# if defined LIBCZMQ_STATIC
# define CZMQ_EXPORT
# elif defined LIBCZMQ_EXPORTS
Expand Down Expand Up @@ -177,6 +178,7 @@ typedef struct _ztrie_t ztrie_t;
#include "zsocket.h"
#include "zsockopt.h"
#include "zthread.h"

#ifdef CZMQ_BUILD_DRAFT_API
#include "zproc.h"
#include "ztrie.h"
Expand Down