Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
534a11f4
Commit
534a11f4
authored
22 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Fixed EMSGSIZE definition for WinSock.
Added SOCKADDR definition for non-WinSock.
parent
c3c30e30
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/sockwrap.h
+3
-0
3 additions, 0 deletions
src/xpdev/sockwrap.h
with
3 additions
and
0 deletions
src/xpdev/sockwrap.h
+
3
−
0
View file @
534a11f4
...
@@ -74,6 +74,8 @@
...
@@ -74,6 +74,8 @@
#define EINTR (WSAEINTR-WSABASEERR)
#define EINTR (WSAEINTR-WSABASEERR)
#undef ENOTSOCK
#undef ENOTSOCK
#define ENOTSOCK (WSAENOTSOCK-WSABASEERR)
#define ENOTSOCK (WSAENOTSOCK-WSABASEERR)
#undef EMSGSIZE
#define EMSGSIZE (WSAEMSGSIZE-WSABASEERR)
#undef EWOULDBLOCK
#undef EWOULDBLOCK
#define EWOULDBLOCK (WSAEWOULDBLOCK-WSABASEERR)
#define EWOULDBLOCK (WSAEWOULDBLOCK-WSABASEERR)
#undef ECONNRESET
#undef ECONNRESET
...
@@ -96,6 +98,7 @@ static wsa_error;
...
@@ -96,6 +98,7 @@ static wsa_error;
/* WinSock-isms */
/* WinSock-isms */
#define HOSTENT struct hostent
#define HOSTENT struct hostent
#define IN_ADDR struct in_addr
#define IN_ADDR struct in_addr
#define SOCKADDR struct sockaddr
#define SOCKADDR_IN struct sockaddr_in
#define SOCKADDR_IN struct sockaddr_in
#define LINGER struct linger
#define LINGER struct linger
#define SOCKET int
#define SOCKET int
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment