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
c7fb5c54
Commit
c7fb5c54
authored
Jun 13, 2011
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting previous commit that broke MSVC2010 build
Signed-off-by:
Martin Sustrik
<
sustrik@250bpm.com
>
parent
b164023c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
ctx.cpp
src/ctx.cpp
+2
-6
select.cpp
src/select.cpp
+1
-1
select.hpp
src/select.hpp
+1
-1
windows.hpp
src/windows.hpp
+3
-2
No files found.
src/ctx.cpp
View file @
c7fb5c54
...
...
@@ -31,13 +31,9 @@
#include "msg.hpp"
#if defined ZMQ_HAVE_WINDOWS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <winsock2.h>
#include <windows.h>
#include "windows.h"
#else
#include
<unistd.h>
#include
"unistd.h"
#endif
zmq
::
ctx_t
::
ctx_t
(
uint32_t
io_threads_
)
:
...
...
src/select.cpp
View file @
c7fb5c54
...
...
@@ -24,7 +24,7 @@
#include <algorithm>
#ifdef ZMQ_HAVE_WINDOWS
#include
<winsock2.h>
#include
"winsock2.h"
#elif defined ZMQ_HAVE_HPUX
#include <sys/param.h>
#include <sys/types.h>
...
...
src/select.hpp
View file @
c7fb5c54
...
...
@@ -27,7 +27,7 @@
#include <vector>
#ifdef ZMQ_HAVE_WINDOWS
#include
<winsock2.h>
#include
"winsock2.h"
#elif defined ZMQ_HAVE_OPENVMS
#include <sys/types.h>
#include <sys/time.h>
...
...
src/windows.hpp
View file @
c7fb5c54
...
...
@@ -24,6 +24,7 @@
// The purpose of this header file is to turn on only the items actually needed
// on the windows platform.
#define _WINSOCKAPI_
#ifndef NOMINMAX
#define NOMINMAX // No min and max functions, these clash with C++.
#endif
...
...
@@ -49,10 +50,11 @@
#ifdef WINVER
#undef WINVER
#endif
// Default to Windows Server 2003, Windows XP
#define WINVER 0x0501
#endif
#include <windows.h>
// MSVC++ 2005 on Win2000 does not define _WIN32_WINNT.
#ifndef _WIN32_WINNT
#define _WIN32_WINNT WINVER
...
...
@@ -66,7 +68,6 @@
#include <winsock.h>
#endif
#include <windows.h>
#include <ws2tcpip.h>
#include <ipexport.h>
#include <process.h>
...
...
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