include: Don't use DECLSPEC_HIDDEN for WINGDIAPI and WINUSERAPI in unuxlibs.

Allows win32u.so to expose such functions using unixlib interface.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2022-05-01 12:23:01 +02:00 committed by Alexandre Julliard
parent 2c1b7c8c17
commit 497f37cf99
4 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@
extern "C" { extern "C" {
#endif #endif
#ifdef _USER32_ #if defined(_USER32_) || defined(WINE_UNIX_LIB)
#define WINUSERAPI #define WINUSERAPI
#else #else
#define WINUSERAPI DECLSPEC_HIDDEN #define WINUSERAPI DECLSPEC_HIDDEN

View File

@ -26,7 +26,7 @@
extern "C" { extern "C" {
#endif /* defined(__cplusplus) */ #endif /* defined(__cplusplus) */
#ifdef _USER32_ #if defined(_USER32_) || defined(WINE_UNIX_LIB)
#define WINUSERAPI #define WINUSERAPI
#else #else
#define WINUSERAPI DECLSPEC_HIDDEN #define WINUSERAPI DECLSPEC_HIDDEN

View File

@ -24,7 +24,7 @@
extern "C" { extern "C" {
#endif #endif
#ifdef _GDI32_ #if defined(_GDI32_) || defined(WINE_UNIX_LIB)
#define WINGDIAPI #define WINGDIAPI
#else #else
#define WINGDIAPI DECLSPEC_HIDDEN #define WINGDIAPI DECLSPEC_HIDDEN

View File

@ -19,7 +19,7 @@
#ifndef _WINUSER_ #ifndef _WINUSER_
#define _WINUSER_ #define _WINUSER_
#if !defined(_USER32_) #if !defined(_USER32_) && !defined(WINE_UNIX_LIB)
#define WINUSERAPI DECLSPEC_HIDDEN #define WINUSERAPI DECLSPEC_HIDDEN
#else #else
#define WINUSERAPI #define WINUSERAPI