From 4f0fd36410248ed69480844c94a5562f7a601c91 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Thu, 4 Jun 2015 13:19:52 +0200 Subject: [PATCH] Problem: event interface isn't compatible with CZMQ 3.0 Solution: backport the latest STDINT definitions from libzmq. Fixes #34 --- include/zmq.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/zmq.h b/include/zmq.h index 310f1610..47e55b60 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -71,18 +71,9 @@ extern "C" { #endif /* Define integer types needed for event interface */ +#define ZMQ_DEFINED_STDINT 1 #if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS # include -#elif defined _MSC_VER && _MSC_VER < 1600 -# ifndef int32_t -typedef __int32 int32_t; -# endif -# ifndef uint16_t -typedef unsigned __int16 uint16_t; -# endif -# ifndef uint8_t -typedef unsigned __int8 uint8_t; -# endif #else # include #endif