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
2581db8f
Commit
2581db8f
authored
Oct 14, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some problems found while compiling and linking Wine under
Cygwin.
parent
de12a970
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
51 additions
and
11 deletions
+51
-11
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/gdi/Makefile.in
+1
-1
ifenum.c
dlls/iphlpapi/ifenum.c
+14
-0
ipstats.c
dlls/iphlpapi/ipstats.c
+6
-1
mshtml.spec
dlls/mshtml/mshtml.spec
+1
-1
msi.spec
dlls/msi/msi.spec
+6
-6
Makefile.in
dlls/rpcrt4/Makefile.in
+1
-1
Makefile.in
dlls/wininet/Makefile.in
+1
-1
internet.h
dlls/wininet/internet.h
+3
-0
socket.c
dlls/winsock/socket.c
+4
-0
config.h.in
include/config.h.in
+3
-0
port.h
include/wine/port.h
+3
-0
wine.def
libs/wine/wine.def
+5
-0
No files found.
configure
View file @
2581db8f
...
@@ -13875,6 +13875,7 @@ done
...
@@ -13875,6 +13875,7 @@ done
for
ac_header
in
\
for
ac_header
in
\
arpa/inet.h
\
arpa/inet.h
\
arpa/nameser.h
\
arpa/nameser.h
\
...
@@ -13904,6 +13905,7 @@ for ac_header in \
...
@@ -13904,6 +13905,7 @@ for ac_header in \
netinet/tcp.h
\
netinet/tcp.h
\
netinet/tcp_fsm.h
\
netinet/tcp_fsm.h
\
openssl/ssl.h
\
openssl/ssl.h
\
process.h
\
pthread.h
\
pthread.h
\
pty.h
\
pty.h
\
pwd.h
\
pwd.h
\
...
...
configure.ac
View file @
2581db8f
...
@@ -1020,6 +1020,7 @@ AC_CHECK_HEADERS(\
...
@@ -1020,6 +1020,7 @@ AC_CHECK_HEADERS(\
netinet/tcp.h \
netinet/tcp.h \
netinet/tcp_fsm.h \
netinet/tcp_fsm.h \
openssl/ssl.h \
openssl/ssl.h \
process.h \
pthread.h \
pthread.h \
pty.h \
pty.h \
pwd.h \
pwd.h \
...
...
dlls/gdi/Makefile.in
View file @
2581db8f
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
gdi32.dll
MODULE
=
gdi32.dll
IMPORTS
=
advapi32 kernel32
IMPORTS
=
advapi32 kernel32
ntdll
ALTNAMES
=
gdi.exe dispdib.dll wing.dll
ALTNAMES
=
gdi.exe dispdib.dll wing.dll
EXTRAINCL
=
@FREETYPEINCL@
EXTRAINCL
=
@FREETYPEINCL@
EXTRALIBS
=
$(LIBUNICODE)
@ICULIBS@
EXTRALIBS
=
$(LIBUNICODE)
@ICULIBS@
...
...
dlls/iphlpapi/ifenum.c
View file @
2581db8f
...
@@ -565,34 +565,48 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
...
@@ -565,34 +565,48 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
switch
(
ifr
.
ifr_hwaddr
.
sa_family
)
switch
(
ifr
.
ifr_hwaddr
.
sa_family
)
{
{
#ifdef ARPHRD_LOOPBACK
case
ARPHRD_LOOPBACK
:
case
ARPHRD_LOOPBACK
:
addrLen
=
0
;
addrLen
=
0
;
*
type
=
MIB_IF_TYPE_LOOPBACK
;
*
type
=
MIB_IF_TYPE_LOOPBACK
;
break
;
break
;
#endif
#ifdef ARPHRD_ETHER
case
ARPHRD_ETHER
:
case
ARPHRD_ETHER
:
addrLen
=
ETH_ALEN
;
addrLen
=
ETH_ALEN
;
*
type
=
MIB_IF_TYPE_ETHERNET
;
*
type
=
MIB_IF_TYPE_ETHERNET
;
break
;
break
;
#endif
#ifdef ARPHRD_FDDI
case
ARPHRD_FDDI
:
case
ARPHRD_FDDI
:
addrLen
=
ETH_ALEN
;
addrLen
=
ETH_ALEN
;
*
type
=
MIB_IF_TYPE_FDDI
;
*
type
=
MIB_IF_TYPE_FDDI
;
break
;
break
;
#endif
#ifdef ARPHRD_IEEE802
case
ARPHRD_IEEE802
:
/* 802.2 Ethernet && Token Ring, guess TR? */
case
ARPHRD_IEEE802
:
/* 802.2 Ethernet && Token Ring, guess TR? */
addrLen
=
ETH_ALEN
;
addrLen
=
ETH_ALEN
;
*
type
=
MIB_IF_TYPE_TOKENRING
;
*
type
=
MIB_IF_TYPE_TOKENRING
;
break
;
break
;
#endif
#ifdef ARPHRD_IEEE802_TR
case
ARPHRD_IEEE802_TR
:
/* also Token Ring? */
case
ARPHRD_IEEE802_TR
:
/* also Token Ring? */
addrLen
=
ETH_ALEN
;
addrLen
=
ETH_ALEN
;
*
type
=
MIB_IF_TYPE_TOKENRING
;
*
type
=
MIB_IF_TYPE_TOKENRING
;
break
;
break
;
#endif
#ifdef ARPHRD_SLIP
case
ARPHRD_SLIP
:
case
ARPHRD_SLIP
:
addrLen
=
0
;
addrLen
=
0
;
*
type
=
MIB_IF_TYPE_SLIP
;
*
type
=
MIB_IF_TYPE_SLIP
;
break
;
break
;
#endif
#ifdef ARPHRD_PPP
case
ARPHRD_PPP
:
case
ARPHRD_PPP
:
addrLen
=
0
;
addrLen
=
0
;
*
type
=
MIB_IF_TYPE_PPP
;
*
type
=
MIB_IF_TYPE_PPP
;
break
;
break
;
#endif
default:
default:
addrLen
=
min
(
MAX_INTERFACE_PHYSADDR
,
sizeof
(
ifr
.
ifr_hwaddr
.
sa_data
));
addrLen
=
min
(
MAX_INTERFACE_PHYSADDR
,
sizeof
(
ifr
.
ifr_hwaddr
.
sa_data
));
*
type
=
MIB_IF_TYPE_OTHER
;
*
type
=
MIB_IF_TYPE_OTHER
;
...
...
dlls/iphlpapi/ipstats.c
View file @
2581db8f
...
@@ -686,11 +686,16 @@ PMIB_IPNETTABLE getArpTable(void)
...
@@ -686,11 +686,16 @@ PMIB_IPNETTABLE getArpTable(void)
if
(
ptr
&&
*
ptr
)
{
if
(
ptr
&&
*
ptr
)
{
DWORD
flags
=
strtoul
(
ptr
,
&
endPtr
,
16
);
DWORD
flags
=
strtoul
(
ptr
,
&
endPtr
,
16
);
#ifdef ATF_COM
if
(
flags
&
ATF_COM
)
if
(
flags
&
ATF_COM
)
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_DYNAMIC
;
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_DYNAMIC
;
else
if
(
flags
&
ATF_PERM
)
else
#endif
#ifdef ATF_PERM
if
(
flags
&
ATF_PERM
)
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_STATIC
;
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_STATIC
;
else
else
#endif
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_OTHER
;
ret
->
table
[
ret
->
dwNumEntries
].
dwType
=
MIB_IPNET_TYPE_OTHER
;
ptr
=
endPtr
;
ptr
=
endPtr
;
...
...
dlls/mshtml/mshtml.spec
View file @
2581db8f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
9 stub DllUnregisterServer
9 stub DllUnregisterServer
10 stub MatchExactGetIDsOfNames
10 stub MatchExactGetIDsOfNames
11 stub RNIGetCompatibleVersion
11 stub RNIGetCompatibleVersion
12 stdcall RunHTMLApplication()
12 stdcall RunHTMLApplication(
long long str long
)
13 stub ShowHTMLDialog
13 stub ShowHTMLDialog
14 stub ShowModalDialog
14 stub ShowModalDialog
15 stub ShowModelessHTMLDialog
15 stub ShowModelessHTMLDialog
...
...
dlls/msi/msi.spec
View file @
2581db8f
...
@@ -28,13 +28,13 @@
...
@@ -28,13 +28,13 @@
28 stdcall MsiDatabaseImportW(wstr wstr)
28 stdcall MsiDatabaseImportW(wstr wstr)
29 stub MsiDatabaseMergeA
29 stub MsiDatabaseMergeA
30 stub MsiDatabaseMergeW
30 stub MsiDatabaseMergeW
31 stdcall MsiDatabaseOpenViewA(str ptr)
31 stdcall MsiDatabaseOpenViewA(
long
str ptr)
32 stdcall MsiDatabaseOpenViewW(wstr ptr)
32 stdcall MsiDatabaseOpenViewW(
long
wstr ptr)
33 stdcall MsiDoActionA(long str)
33 stdcall MsiDoActionA(long str)
34 stdcall MsiDoActionW(long wstr)
34 stdcall MsiDoActionW(long wstr)
35 stub MsiEnableUIPreview
35 stub MsiEnableUIPreview
36 stdcall MsiEnumClientsA(long ptr)
36 stdcall MsiEnumClientsA(
str
long ptr)
37 stdcall MsiEnumClientsW(long ptr)
37 stdcall MsiEnumClientsW(
wstr
long ptr)
38 stdcall MsiEnumComponentQualifiersA(str long str ptr str ptr)
38 stdcall MsiEnumComponentQualifiersA(str long str ptr str ptr)
39 stdcall MsiEnumComponentQualifiersW(wstr long wstr ptr wstr ptr)
39 stdcall MsiEnumComponentQualifiersW(wstr long wstr ptr wstr ptr)
40 stdcall MsiEnumComponentsA(long ptr)
40 stdcall MsiEnumComponentsA(long ptr)
...
@@ -74,8 +74,8 @@
...
@@ -74,8 +74,8 @@
74 stub MsiGetPropertyW
74 stub MsiGetPropertyW
75 stub MsiGetSourcePathA
75 stub MsiGetSourcePathA
76 stub MsiGetSourcePathW
76 stub MsiGetSourcePathW
77 stdcall MsiGetSummaryInformationA(str long ptr)
77 stdcall MsiGetSummaryInformationA(
long
str long ptr)
78 stdcall MsiGetSummaryInformationW(wstr long ptr)
78 stdcall MsiGetSummaryInformationW(
long
wstr long ptr)
79 stub MsiGetTargetPathA
79 stub MsiGetTargetPathA
80 stub MsiGetTargetPathW
80 stub MsiGetTargetPathW
81 stub MsiGetUserInfoA
81 stub MsiGetUserInfoA
...
...
dlls/rpcrt4/Makefile.in
View file @
2581db8f
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
rpcrt4.dll
MODULE
=
rpcrt4.dll
IMPORTS
=
advapi32 kernel32
IMPORTS
=
advapi32 kernel32
ntdll
EXTRALIBS
=
$(LIBUUID)
EXTRALIBS
=
$(LIBUUID)
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/wininet/Makefile.in
View file @
2581db8f
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
...
@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
wininet.dll
MODULE
=
wininet.dll
IMPORTS
=
mpr shlwapi shell32 user32 advapi32 kernel32
IMPORTS
=
mpr shlwapi shell32 user32 advapi32 kernel32
ntdll
EXTRALIBS
=
$(LIBUNICODE)
EXTRALIBS
=
$(LIBUNICODE)
C_SRCS
=
\
C_SRCS
=
\
...
...
dlls/wininet/internet.h
View file @
2581db8f
...
@@ -36,6 +36,9 @@
...
@@ -36,6 +36,9 @@
# include <openssl/ssl.h>
# include <openssl/ssl.h>
#undef DSA
#undef DSA
#endif
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
/* used for netconnection.c stuff */
/* used for netconnection.c stuff */
typedef
struct
typedef
struct
...
...
dlls/winsock/socket.c
View file @
2581db8f
...
@@ -283,7 +283,9 @@ static const int ws_ip_map[][2] =
...
@@ -283,7 +283,9 @@ static const int ws_ip_map[][2] =
MAP_OPTION
(
IP_ADD_MEMBERSHIP
),
MAP_OPTION
(
IP_ADD_MEMBERSHIP
),
MAP_OPTION
(
IP_DROP_MEMBERSHIP
),
MAP_OPTION
(
IP_DROP_MEMBERSHIP
),
MAP_OPTION
(
IP_OPTIONS
),
MAP_OPTION
(
IP_OPTIONS
),
#ifdef IP_HDRINCL
MAP_OPTION
(
IP_HDRINCL
),
MAP_OPTION
(
IP_HDRINCL
),
#endif
MAP_OPTION
(
IP_TOS
),
MAP_OPTION
(
IP_TOS
),
MAP_OPTION
(
IP_TTL
),
MAP_OPTION
(
IP_TTL
),
{
0
,
0
}
{
0
,
0
}
...
@@ -2032,8 +2034,10 @@ INT WINAPI WSAIoctl (SOCKET s,
...
@@ -2032,8 +2034,10 @@ INT WINAPI WSAIoctl (SOCKET s,
intArray
->
iiFlags
=
0
;
intArray
->
iiFlags
=
0
;
if
(
ifInfo
.
ifr_flags
&
IFF_BROADCAST
)
if
(
ifInfo
.
ifr_flags
&
IFF_BROADCAST
)
intArray
->
iiFlags
|=
WS_IFF_BROADCAST
;
intArray
->
iiFlags
|=
WS_IFF_BROADCAST
;
#ifdef IFF_POINTOPOINT
if
(
ifInfo
.
ifr_flags
&
IFF_POINTOPOINT
)
if
(
ifInfo
.
ifr_flags
&
IFF_POINTOPOINT
)
intArray
->
iiFlags
|=
WS_IFF_POINTTOPOINT
;
intArray
->
iiFlags
|=
WS_IFF_POINTTOPOINT
;
#endif
if
(
ifInfo
.
ifr_flags
&
IFF_LOOPBACK
)
if
(
ifInfo
.
ifr_flags
&
IFF_LOOPBACK
)
intArray
->
iiFlags
|=
WS_IFF_LOOPBACK
;
intArray
->
iiFlags
|=
WS_IFF_LOOPBACK
;
if
(
ifInfo
.
ifr_flags
&
IFF_UP
)
if
(
ifInfo
.
ifr_flags
&
IFF_UP
)
...
...
include/config.h.in
View file @
2581db8f
...
@@ -395,6 +395,9 @@
...
@@ -395,6 +395,9 @@
/* Define to 1 if you have the `pread' function. */
/* Define to 1 if you have the `pread' function. */
#undef HAVE_PREAD
#undef HAVE_PREAD
/* Define to 1 if you have the <process.h> header file. */
#undef HAVE_PROCESS_H
/* Define to 1 if you have the <pthread.h> header file. */
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
#undef HAVE_PTHREAD_H
...
...
include/wine/port.h
View file @
2581db8f
...
@@ -36,6 +36,9 @@
...
@@ -36,6 +36,9 @@
#ifdef HAVE_IO_H
#ifdef HAVE_IO_H
# include <io.h>
# include <io.h>
#endif
#endif
#ifdef HAVE_PROCESS_H
# include <process.h>
#endif
#include <string.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
...
...
libs/wine/wine.def
View file @
2581db8f
...
@@ -11,6 +11,7 @@ EXPORTS
...
@@ -11,6 +11,7 @@ EXPORTS
__wine_dll_register
__wine_dll_register
__wine_main_argc
__wine_main_argc
__wine_main_argv
__wine_main_argv
__wine_main_environ
__wine_main_wargv
__wine_main_wargv
wine_anon_mmap
wine_anon_mmap
wine_dbg_add_option
wine_dbg_add_option
...
@@ -29,6 +30,7 @@ EXPORTS
...
@@ -29,6 +30,7 @@ EXPORTS
wine_dll_unload
wine_dll_unload
wine_dlopen
wine_dlopen
wine_dlsym
wine_dlsym
wine_get_argv0_path
wine_get_config_dir
wine_get_config_dir
wine_get_cs
wine_get_cs
wine_get_ds
wine_get_ds
...
@@ -50,5 +52,8 @@ EXPORTS
...
@@ -50,5 +52,8 @@ EXPORTS
wine_ldt_init_locking
wine_ldt_init_locking
wine_ldt_realloc_entries
wine_ldt_realloc_entries
wine_ldt_set_entry
wine_ldt_set_entry
wine_pthread_init_process
wine_pthread_init_thread
wine_set_fs
wine_set_fs
wine_set_gs
wine_set_gs
wine_switch_to_stack
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