1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

include: Use proper dllimports for gdi32 functions.

This commit is contained in:
Alexandre Julliard 2022-12-07 11:21:07 +01:00
parent a1f0d535e0
commit 402d50d5f9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,4 @@
EXTRADEFS = -DWINGDIAPI=
MODULE = win32u.dll
UNIXLIB = win32u.so
IMPORTLIB = win32u

View File

@ -24,16 +24,20 @@
extern "C" {
#endif
#ifndef WINGDIAPI
#if defined(_GDI32_) || defined(WINE_UNIX_LIB)
#define WINGDIAPI
#else
#define WINGDIAPI DECLSPEC_HIDDEN
#define WINGDIAPI DECLSPEC_IMPORT
#endif
#endif
#ifndef WGLAPI
#ifdef _OPENGL32_
#define WGLAPI
#else
#define WGLAPI DECLSPEC_HIDDEN
#define WGLAPI DECLSPEC_IMPORT
#endif
#endif
typedef struct _ABCFLOAT {