Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
73c370dd
Commit
73c370dd
authored
Dec 30, 2012
by
Matt Arsenault
Committed by
Matt Arsenault
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inconsistently using #if or #ifdef instead of #if defined
parent
1eee9ce0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ip.cpp
src/ip.cpp
+2
-2
zmq.cpp
src/zmq.cpp
+1
-1
No files found.
src/ip.cpp
View file @
73c370dd
...
...
@@ -73,11 +73,11 @@ zmq::fd_t zmq::open_socket (int domain_, int type_, int protocol_)
void
zmq
::
unblock_socket
(
fd_t
s_
)
{
#if
def
ZMQ_HAVE_WINDOWS
#if
defined
ZMQ_HAVE_WINDOWS
u_long
nonblock
=
1
;
int
rc
=
ioctlsocket
(
s_
,
FIONBIO
,
&
nonblock
);
wsa_assert
(
rc
!=
SOCKET_ERROR
);
#elif ZMQ_HAVE_OPENVMS
#elif
defined
ZMQ_HAVE_OPENVMS
int
nonblock
=
1
;
int
rc
=
ioctl
(
s_
,
FIONBIO
,
&
nonblock
);
errno_assert
(
rc
!=
-
1
);
...
...
src/zmq.cpp
View file @
73c370dd
...
...
@@ -56,7 +56,7 @@
// XSI vector I/O
#if ZMQ_HAVE_UIO
#if
defined
ZMQ_HAVE_UIO
#include <sys/uio.h>
#else
struct
iovec
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment