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 @@
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
......
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