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
cf048bb1
Commit
cf048bb1
authored
Jun 04, 2010
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platform.hpp for MSVC contains only very basic stuff
parent
92799386
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
32 deletions
+23
-32
platform.hpp
builds/msvc/platform.hpp
+0
-29
helpers.cpp
perf/helpers.cpp
+3
-1
encoder.hpp
src/encoder.hpp
+5
-0
prefix_tree.cpp
src/prefix_tree.cpp
+5
-0
uuid.cpp
src/uuid.cpp
+0
-1
uuid.hpp
src/uuid.hpp
+1
-0
windows.hpp
src/windows.hpp
+4
-0
zmq_engine.cpp
src/zmq_engine.cpp
+5
-1
No files found.
builds/msvc/platform.hpp
View file @
cf048bb1
...
...
@@ -31,34 +31,5 @@
#define PACKAGE_VERSION_PATCH 7
#define ZMQ_HAVE_WINDOWS
#define _WINSOCKAPI_
#define NOMINMAX
#define _CRT_SECURE_NO_WARNINGS
// Turn on only the items zmq needs on the Windows platform.
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMCX // No Modem Configuration Extensions.
#define NOMCX
#endif
#ifndef NOIME // No Input Method Editor.
#define NOIME
#endif
#ifndef NOSOUND // No Sound driver routines.
#define NOSOUND
#endif
#include <windows.h>
#include <objbase.h>
// Enable winsock (not included when WIN32_LEAN_AND_MEAN is defined).
#if(_WIN32_WINNT >= 0x0400)
#include <winsock2.h>
#include <mswsock.h>
#else
#include <winsock.h>
#endif
#endif
perf/helpers.cpp
View file @
cf048bb1
...
...
@@ -19,7 +19,9 @@
#include <assert.h>
#include <stdlib.h>
#ifndef _WIN32
#ifdef _WIN32
# include "../src/windows.hpp"
#else
# include <sys/time.h>
# include <unistd.h>
#endif
...
...
src/encoder.hpp
View file @
cf048bb1
...
...
@@ -20,6 +20,11 @@
#ifndef __ZMQ_ENCODER_HPP_INCLUDED__
#define __ZMQ_ENCODER_HPP_INCLUDED__
#include "platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
...
...
src/prefix_tree.cpp
View file @
cf048bb1
...
...
@@ -22,6 +22,11 @@
#include <new>
#include <algorithm>
#include "platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
#include "err.hpp"
#include "prefix_tree.hpp"
...
...
src/uuid.cpp
View file @
cf048bb1
...
...
@@ -17,7 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "platform.hpp"
#include "uuid.hpp"
#include "err.hpp"
...
...
src/uuid.hpp
View file @
cf048bb1
...
...
@@ -29,6 +29,7 @@
defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN
#include <uuid/uuid.h>
#elif defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#include <rpc.h>
#elif defined ZMQ_HAVE_OPENVMS
typedef
struct
...
...
src/windows.hpp
View file @
cf048bb1
...
...
@@ -23,6 +23,10 @@
// The purpose of this header file is to turn on only the items actually needed
// on the windows platform.
#define _WINSOCKAPI_
#define NOMINMAX
#define _CRT_SECURE_NO_WARNINGS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
...
...
src/zmq_engine.cpp
View file @
cf048bb1
...
...
@@ -17,8 +17,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h>
#include "platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#endif
#include <string.h>
#include <new>
#include "zmq_engine.hpp"
...
...
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