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
d03300ec
Commit
d03300ec
authored
Jan 15, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define INADDR_NONE if needed (reported by Robert Lunnon).
parent
6235a28a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+4
-0
device.c
dlls/kernel/device.c
+3
-0
nbt.c
dlls/netapi32/nbt.c
+4
-0
No files found.
dlls/iphlpapi/iphlpapi_main.c
View file @
d03300ec
...
...
@@ -46,6 +46,10 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
iphlpapi
);
#ifndef INADDR_NONE
#define INADDR_NONE ~0UL
#endif
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
...
...
dlls/kernel/device.c
View file @
d03300ec
...
...
@@ -57,6 +57,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
file
);
#ifndef INADDR_NONE
#define INADDR_NONE ~0UL
#endif
static
BOOL
DeviceIo_VTDAPI
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
...
...
dlls/netapi32/nbt.c
View file @
d03300ec
...
...
@@ -84,6 +84,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(netbios);
#define PORT_NBDG 138
#define PORT_NBSS 139
#ifndef INADDR_NONE
#define INADDR_NONE ~0UL
#endif
#define NBR_ADDWORD(p,word) (*(WORD *)(p)) = htons(word)
#define NBR_GETWORD(p) ntohs(*(WORD *)(p))
...
...
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