Commit 497f37cf authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 2c1b7c8c
...@@ -28,7 +28,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment