mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:18:16 +00:00
include: Use proper dllimports for gdi32 functions.
This commit is contained in:
parent
a1f0d535e0
commit
402d50d5f9
|
@ -1,3 +1,4 @@
|
||||||
|
EXTRADEFS = -DWINGDIAPI=
|
||||||
MODULE = win32u.dll
|
MODULE = win32u.dll
|
||||||
UNIXLIB = win32u.so
|
UNIXLIB = win32u.so
|
||||||
IMPORTLIB = win32u
|
IMPORTLIB = win32u
|
||||||
|
|
|
@ -24,16 +24,20 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WINGDIAPI
|
||||||
#if defined(_GDI32_) || defined(WINE_UNIX_LIB)
|
#if defined(_GDI32_) || defined(WINE_UNIX_LIB)
|
||||||
#define WINGDIAPI
|
#define WINGDIAPI
|
||||||
#else
|
#else
|
||||||
#define WINGDIAPI DECLSPEC_HIDDEN
|
#define WINGDIAPI DECLSPEC_IMPORT
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGLAPI
|
||||||
#ifdef _OPENGL32_
|
#ifdef _OPENGL32_
|
||||||
#define WGLAPI
|
#define WGLAPI
|
||||||
#else
|
#else
|
||||||
#define WGLAPI DECLSPEC_HIDDEN
|
#define WGLAPI DECLSPEC_IMPORT
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _ABCFLOAT {
|
typedef struct _ABCFLOAT {
|
||||||
|
|
Loading…
Reference in a new issue