Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
f61f402f
Commit
f61f402f
authored
Sep 28, 2016
by
Davis King
Browse files
merged
parents
55a74bba
35b3e65b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
dlib/assert.h
dlib/assert.h
+2
-2
dlib/sockets/sockets_kernel_1.cpp
dlib/sockets/sockets_kernel_1.cpp
+2
-1
No files found.
dlib/assert.h
View file @
f61f402f
...
@@ -37,11 +37,11 @@
...
@@ -37,11 +37,11 @@
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_INITIALIZER_LISTS
# define DLIB_HAS_INITIALIZER_LISTS
#elif defined(_MSC_VER) && _MSC_VER >= 1600
# define DLIB_HAS_RVALUE_REFERENCES
#elif defined(_MSC_VER) && _MSC_VER >= 1800
#elif defined(_MSC_VER) && _MSC_VER >= 1800
# define DLIB_HAS_INITIALIZER_LISTS
# define DLIB_HAS_INITIALIZER_LISTS
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_RVALUE_REFERENCES
#elif defined(_MSC_VER) && _MSC_VER >= 1600
# define DLIB_HAS_RVALUE_REFERENCES
#elif defined(__INTEL_COMPILER) && defined(BOOST_INTEL_STDCXX0X)
#elif defined(__INTEL_COMPILER) && defined(BOOST_INTEL_STDCXX0X)
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_INITIALIZER_LISTS
# define DLIB_HAS_INITIALIZER_LISTS
...
...
dlib/sockets/sockets_kernel_1.cpp
View file @
f61f402f
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#ifdef WIN32
#ifdef WIN32
#include <winsock2.h>
#ifndef _WINSOCKAPI_
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
/* Prevent inclusion of winsock.h in windows.h */
#define _WINSOCKAPI_
/* Prevent inclusion of winsock.h in windows.h */
#endif
#endif
...
@@ -15,7 +17,6 @@
...
@@ -15,7 +17,6 @@
#include "sockets_kernel_1.h"
#include "sockets_kernel_1.h"
#include <windows.h>
#include <windows.h>
#include <winsock2.h>
#ifndef NI_MAXHOST
#ifndef NI_MAXHOST
#define NI_MAXHOST 1025
#define NI_MAXHOST 1025
...
...
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