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
ffeda154
Commit
ffeda154
authored
Mar 08, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed WS_FD_CLR and WS_FD_SET macros (spotted by Thomas Kho).
parent
219e76fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winsock.h
include/winsock.h
+3
-3
No files found.
include/winsock.h
View file @
ffeda154
...
...
@@ -417,7 +417,7 @@ typedef struct WS(timeval)
}
TIMEVAL
,
*
PTIMEVAL
,
*
LPTIMEVAL
;
#endif
#define
WINE
_FD_CLR(fd, set, cast) do { \
#define
__WS
_FD_CLR(fd, set, cast) do { \
u_int __i; \
for (__i = 0; __i < ((cast*)(set))->fd_count ; __i++) \
{ \
...
...
@@ -467,8 +467,8 @@ typedef struct WS(timeval)
#define FD_ZERO(set) (((fd_set*)(set))->fd_count=0)
#define FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (fd_set*)(set))
#else
#define WS_FD_CLR(fd, set)
WINE
_FD_CLR((fd),(set), WS_fd_set)
#define WS_FD_SET(fd, set)
WINE
_FD_SET((fd),(set), WS_fd_set)
#define WS_FD_CLR(fd, set)
__WS
_FD_CLR((fd),(set), WS_fd_set)
#define WS_FD_SET(fd, set)
__WS
_FD_SET((fd),(set), WS_fd_set)
#define WS_FD_ZERO(set) ((WS_fd_set*)(set))->fd_count=0)
#define WS_FD_ISSET(fd, set) __WSAFDIsSet((SOCKET)(fd), (WS_fd_set*)(set))
#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