Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
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
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
libnice
Commits
35bb6ebf
Commit
35bb6ebf
authored
Feb 15, 2012
by
Filippo Della Betta
Committed by
Youness Alaoui
Feb 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error definitions moved to pseudotcp.h on WIN32 platform
parent
2c917538
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
agent/agent.c
agent/agent.c
+1
-4
agent/pseudotcp.c
agent/pseudotcp.c
+2
-7
agent/pseudotcp.h
agent/pseudotcp.h
+8
-0
No files found.
agent/agent.c
View file @
35bb6ebf
...
...
@@ -49,10 +49,7 @@
#include <string.h>
#include <errno.h>
#ifdef G_OS_WIN32
# include <winsock2.h>
# define EWOULDBLOCK WSAEWOULDBLOCK
#else
#ifndef G_OS_WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
...
...
agent/pseudotcp.c
View file @
35bb6ebf
...
...
@@ -68,13 +68,8 @@
#include <string.h>
#include <glib.h>
#ifdef G_OS_WIN32
# include <winsock2.h>
# define ECONNABORTED WSAECONNABORTED
# define ENOTCONN WSAENOTCONN
# define EWOULDBLOCK WSAEWOULDBLOCK
# define ECONNRESET WSAECONNRESET
#else
#ifndef G_OS_WIN32
# include <arpa/inet.h>
#endif
...
...
agent/pseudotcp.h
View file @
35bb6ebf
...
...
@@ -58,6 +58,14 @@
#include <glib-object.h>
#ifdef G_OS_WIN32
# include <winsock2.h>
# define ECONNABORTED WSAECONNABORTED
# define ENOTCONN WSAENOTCONN
# define EWOULDBLOCK WSAEWOULDBLOCK
# define ECONNRESET WSAECONNRESET
#endif
G_BEGIN_DECLS
/**
...
...
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