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
9622a830
Commit
9622a830
authored
May 13, 2016
by
evoskuil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: inapplicable, redundant and invalid references in msvc pch.
parent
4b041ef6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
66 deletions
+29
-66
libzmq.props
builds/msvc/vs2015/libzmq/libzmq.props
+1
-1
precompiled.hpp
src/precompiled.hpp
+28
-65
No files found.
builds/msvc/vs2015/libzmq/libzmq.props
View file @
9622a830
...
...
@@ -21,7 +21,7 @@
<EnablePREfast>
false
</EnablePREfast>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<PrecompiledHeaderFile>
precompiled.hpp
</PrecompiledHeaderFile>
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;ZMQ_USE_SELECT;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;FD_SETSIZE=16384;
WIN32_LEAN_AND_MEAN;
ZMQ_USE_SELECT;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions
Condition=
"'$(Option-tweet)' == 'true'"
>
ZMQ_USE_TWEETNACL;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions
Condition=
"'$(Option-sodium)' == 'true'"
>
ZMQ_USE_LIBSODIUM;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions
Condition=
"'$(Option-tweet)' == 'true' Or '$(Option-sodium)' == 'true'"
>
ZMQ_HAVE_CURVE;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
...
...
src/precompiled.hpp
View file @
9622a830
...
...
@@ -32,76 +32,12 @@
#ifdef _MSC_VER
// Windows headers
#include "platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#define WIN32_LEAN_AND_MEAN // speeds up compilation by removing rarely used windows definitions from headers
#include "windows.hpp"
#else
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <netdb.h>
#include <fcntl.h>
#if defined ZMQ_HAVE_OPENBSD
#define ucred sockpeercred
#endif
#endif
// system headers
#include <intrin.h>
#include <io.h>
#include <rpc.h>
#include <sys/stat.h>
// standard C headers
#include <assert.h>
#if defined _MSC_VER
#if defined _WIN32_WCE
#include <cmnintrin.h>
#else
#include <intrin.h>
#endif
#else
#include <atomic>
#include <inttypes.h>
#endif
#include <ctype.h>
#include <errno.h>
#ifdef HAVE_LIBGSSAPI_KRB5
#include <string.h>
#include <string>
#include "msg.hpp"
#include "session_base.hpp"
#include "err.hpp"
#include "gssapi_server.hpp"
#include "wire.hpp"
#include <gssapi/gssapi.h>
#endif
#ifdef HAVE_LIBGSSAPI_KRB5
#if !defined(ZMQ_HAVE_FREEBSD) && !defined(ZMQ_HAVE_DRAGONFLY)
#include <gssapi/gssapi_generic.h>
#endif
#include <gssapi/gssapi_krb5.h>
#include "mechanism.hpp"
#include "options.hpp"
#include <gssapi/gssapi_krb5.h>
#endif
#if ((defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_FREEBSD ||\
defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_OPENBSD ||\
defined ZMQ_HAVE_QNXNTO || defined ZMQ_HAVE_NETBSD ||\
defined ZMQ_HAVE_DRAGONFLY || defined ZMQ_HAVE_GNU)\
&& defined ZMQ_HAVE_IFADDRS)
#include <ifaddrs.h>
#endif
#include <intrin.h>
#include <io.h>
#include <ipexport.h>
#include <iphlpapi.h>
...
...
@@ -139,6 +75,33 @@
#include <string>
#include <vector>
#if _MSC_VER >= 1800
#include <inttypes.h>
#endif
#if _MSC_VER >= 1700
#include <atomic>
#endif
#if defined _WIN32_WCE
#include <cmnintrin.h>
#else
#include <intrin.h>
#endif
#if defined HAVE_LIBGSSAPI_KRB5
#include "err.hpp"
#include "msg.hpp"
#include "mechanism.hpp"
#include "session_base.hpp"
#include "gssapi_server.hpp"
#include "wire.hpp"
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_krb5.h>
#endif
#include "options.hpp"
#endif // _MSC_VER
...
...
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