From f67a19933202c01a1ead80aa2943356c8e7915bf Mon Sep 17 00:00:00 2001 From: AJ Lewis Date: Mon, 5 Nov 2012 11:27:13 -0600 Subject: [PATCH] Older versions of C compilers don't like C++ comments There's no need to exclude older compilers by putting C++ style comments in the C API header. --- include/zmq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/zmq.h b/include/zmq.h index d4c6070f..7c5bdcc6 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -381,15 +381,15 @@ typedef struct ZMQ_EXPORT int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout); -// Built-in message proxy (3-way) +/* Built-in message proxy (3-way) */ ZMQ_EXPORT int zmq_proxy (void *frontend, void *backend, void *capture); -// Deprecated aliases +/* Deprecated aliases */ #define ZMQ_STREAMER 1 #define ZMQ_FORWARDER 2 #define ZMQ_QUEUE 3 -// Deprecated method +/* Deprecated method */ ZMQ_EXPORT int zmq_device (int type, void *frontend, void *backend); #undef ZMQ_EXPORT