Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
888c930f
Commit
888c930f
authored
Oct 02, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Use a symbolic name instead of hand-made value.
parent
01d9eac0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
socket.c
dlls/ws2_32/socket.c
+2
-2
winsock.h
include/winsock.h
+10
-0
No files found.
dlls/ws2_32/socket.c
View file @
888c930f
...
...
@@ -2258,7 +2258,7 @@ INT WINAPI WSAIoctl(SOCKET s,
break
;
default:
WARN
(
"
\t
unsupported WS_IOCTL cmd (%08lx)
\n
"
,
dwIoControlCode
);
FIXME
(
"
unsupported WS_IOCTL cmd (%08lx)
\n
"
,
dwIoControlCode
);
release_sock_fd
(
s
,
fd
);
WSASetLastError
(
WSAEOPNOTSUPP
);
return
SOCKET_ERROR
;
...
...
@@ -2318,7 +2318,7 @@ int WINAPI WS_ioctlsocket(SOCKET s, long cmd, u_long *argp)
newcmd
=
SIOCATMARK
;
break
;
case
WS_
_IOW
(
'f'
,
125
,
u_long
)
:
case
WS_
FIOASYNC
:
WARN
(
"Warning: WS1.1 shouldn't be using async I/O
\n
"
);
SetLastError
(
WSAEINVAL
);
return
SOCKET_ERROR
;
...
...
include/winsock.h
View file @
888c930f
...
...
@@ -750,10 +750,20 @@ typedef struct WS(WSAData)
#ifndef USE_WS_PREFIX
#define FIONREAD _IOR('f', 127, u_long)
#define FIONBIO _IOW('f', 126, u_long)
#define FIOASYNC _IOW('f', 125, u_long)
#define SIOCSHIWAT _IOW('s', 0, u_long)
#define SIOCGHIWAT _IOR('s', 1, u_long)
#define SIOCSLOWAT _IOW('s', 2, u_long)
#define SIOCGLOWAT _IOR('s', 3, u_long)
#define SIOCATMARK _IOR('s', 7, u_long)
#else
#define WS_FIONREAD WS__IOR('f', 127, u_long)
#define WS_FIONBIO WS__IOW('f', 126, u_long)
#define WS_FIOASYNC WS__IOW('f', 125, u_long)
#define WS_SIOCSHIWAT WS__IOW('s', 0, u_long)
#define WS_SIOCGHIWAT WS__IOR('s', 1, u_long)
#define WS_SIOCSLOWAT WS__IOW('s', 2, u_long)
#define WS_SIOCGLOWAT WS__IOR('s', 3, u_long)
#define WS_SIOCATMARK WS__IOR('s', 7, u_long)
#endif
...
...
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