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" {
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue