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:
parent
2c1b7c8c17
commit
497f37cf99
|
@ -28,7 +28,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _USER32_
|
||||
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI
|
||||
#else
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#ifdef _USER32_
|
||||
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI
|
||||
#else
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _GDI32_
|
||||
#if defined(_GDI32_) || defined(WINE_UNIX_LIB)
|
||||
#define WINGDIAPI
|
||||
#else
|
||||
#define WINGDIAPI DECLSPEC_HIDDEN
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef _WINUSER_
|
||||
#define _WINUSER_
|
||||
|
||||
#if !defined(_USER32_)
|
||||
#if !defined(_USER32_) && !defined(WINE_UNIX_LIB)
|
||||
#define WINUSERAPI DECLSPEC_HIDDEN
|
||||
#else
|
||||
#define WINUSERAPI
|
||||
|
|
Loading…
Reference in New Issue