mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:44:47 +00:00
include: Use proper dllimports for wininet functions.
This commit is contained in:
parent
19b4814fd3
commit
9be166e251
|
@ -1,3 +1,4 @@
|
|||
EXTRADEFS = -D_WININET_INTERNAL_
|
||||
MODULE = wininet.dll
|
||||
IMPORTLIB = wininet
|
||||
IMPORTS = $(ZLIB_PE_LIBS) mpr shlwapi shell32 user32 ws2_32 advapi32
|
||||
|
|
|
@ -23,7 +23,14 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define INTERNETAPI
|
||||
#ifndef INTERNETAPI
|
||||
#ifdef _WININET_INTERNAL_
|
||||
# define INTERNETAPI
|
||||
#else
|
||||
# define INTERNETAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BOOLAPI INTERNETAPI BOOL WINAPI
|
||||
|
||||
typedef LPVOID HINTERNET;
|
||||
|
|
Loading…
Reference in a new issue