Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f61f402f
Commit
f61f402f
authored
Sep 28, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
55a74bba
35b3e65b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
assert.h
dlib/assert.h
+2
-2
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 @@
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_INITIALIZER_LISTS
#elif defined(_MSC_VER) && _MSC_VER >= 1600
# define DLIB_HAS_RVALUE_REFERENCES
#elif defined(_MSC_VER) && _MSC_VER >= 1800
# define DLIB_HAS_INITIALIZER_LISTS
# 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)
# define DLIB_HAS_RVALUE_REFERENCES
# define DLIB_HAS_INITIALIZER_LISTS
...
...
dlib/sockets/sockets_kernel_1.cpp
View file @
f61f402f
...
...
@@ -6,6 +6,8 @@
#ifdef WIN32
#include <winsock2.h>
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
/* Prevent inclusion of winsock.h in windows.h */
#endif
...
...
@@ -15,7 +17,6 @@
#include "sockets_kernel_1.h"
#include <windows.h>
#include <winsock2.h>
#ifndef NI_MAXHOST
#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