Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
858d69dc
Commit
858d69dc
authored
Jan 13, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove winsock2.h include from native_socket.hpp
parent
a352d55b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
libcaf_io/caf/io/network/native_socket.hpp
libcaf_io/caf/io/network/native_socket.hpp
+2
-6
No files found.
libcaf_io/caf/io/network/native_socket.hpp
View file @
858d69dc
...
@@ -22,17 +22,13 @@
...
@@ -22,17 +22,13 @@
#include "caf/config.hpp"
#include "caf/config.hpp"
#ifdef CAF_WINDOWS
# include <winsock2.h>
#endif
namespace
caf
{
namespace
caf
{
namespace
io
{
namespace
io
{
namespace
network
{
namespace
network
{
#ifdef CAF_WINDOWS
#ifdef CAF_WINDOWS
using
native_socket
=
SOCKET
;
using
native_socket
=
unsigned
;
constexpr
native_socket
invalid_native_socket
=
INVALID_SOCKET
;
constexpr
native_socket
invalid_native_socket
=
static_cast
<
unsigned
>
(
-
1
)
;
#else
#else
using
native_socket
=
int
;
using
native_socket
=
int
;
constexpr
native_socket
invalid_native_socket
=
-
1
;
constexpr
native_socket
invalid_native_socket
=
-
1
;
...
...
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