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
f5ea0fd2
Commit
f5ea0fd2
authored
Mar 06, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined.
parent
e0552c1b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/ws2_32/socket.c
+2
-2
No files found.
dlls/ws2_32/socket.c
View file @
f5ea0fd2
...
@@ -3390,7 +3390,7 @@ static int convert_eai_u2w(int unixret) {
...
@@ -3390,7 +3390,7 @@ static int convert_eai_u2w(int unixret) {
*/
*/
int
WINAPI
WS_getaddrinfo
(
LPCSTR
nodename
,
LPCSTR
servname
,
const
struct
WS_addrinfo
*
hints
,
struct
WS_addrinfo
**
res
)
int
WINAPI
WS_getaddrinfo
(
LPCSTR
nodename
,
LPCSTR
servname
,
const
struct
WS_addrinfo
*
hints
,
struct
WS_addrinfo
**
res
)
{
{
#if HAVE_GETADDRINFO
#if
def
HAVE_GETADDRINFO
struct
addrinfo
*
unixaires
=
NULL
;
struct
addrinfo
*
unixaires
=
NULL
;
int
result
;
int
result
;
struct
addrinfo
unixhints
,
*
punixhints
=
NULL
;
struct
addrinfo
unixhints
,
*
punixhints
=
NULL
;
...
@@ -3507,7 +3507,7 @@ int WINAPI GetAddrInfoW(LPCWSTR nodename, LPCWSTR servname, const ADDRINFOW *hin
...
@@ -3507,7 +3507,7 @@ int WINAPI GetAddrInfoW(LPCWSTR nodename, LPCWSTR servname, const ADDRINFOW *hin
int
WINAPI
WS_getnameinfo
(
const
SOCKADDR
*
sa
,
WS_socklen_t
salen
,
PCHAR
host
,
int
WINAPI
WS_getnameinfo
(
const
SOCKADDR
*
sa
,
WS_socklen_t
salen
,
PCHAR
host
,
DWORD
hostlen
,
PCHAR
serv
,
DWORD
servlen
,
INT
flags
)
DWORD
hostlen
,
PCHAR
serv
,
DWORD
servlen
,
INT
flags
)
{
{
#if HAVE_GETNAMEINFO
#if
def
HAVE_GETNAMEINFO
int
ret
;
int
ret
;
union
generic_unix_sockaddr
sa_u
;
union
generic_unix_sockaddr
sa_u
;
unsigned
int
size
;
unsigned
int
size
;
...
...
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