Commit d92b5971 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Use proper dllimports for user32 functions.

parent 402d50d5
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI=
EXTRADEFS = -DWINBASEAPI= -DWINADVAPI= -DWINUSERAPI=
MODULE = kernelbase.dll
IMPORTLIB = kernelbase
IMPORTS = uuid ntdll winecrt0
......
EXTRADEFS = -DWINGDIAPI=
EXTRADEFS = -DWINGDIAPI= -DWINUSERAPI=
MODULE = win32u.dll
UNIXLIB = win32u.so
IMPORTLIB = win32u
......
......@@ -28,10 +28,12 @@
extern "C" {
#endif
#ifndef WINUSERAPI
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
#define WINUSERAPI
#else
#define WINUSERAPI DECLSPEC_HIDDEN
#define WINUSERAPI DECLSPEC_IMPORT
#endif
#endif
#include <dde.rh>
......
......@@ -26,10 +26,12 @@
extern "C" {
#endif /* defined(__cplusplus) */
#ifndef WINUSERAPI
#if defined(_USER32_) || defined(WINE_UNIX_LIB)
#define WINUSERAPI
#else
#define WINUSERAPI DECLSPEC_HIDDEN
#define WINUSERAPI DECLSPEC_IMPORT
#endif
#endif
/* Codepage Constants
......
......@@ -19,11 +19,13 @@
#ifndef _WINUSER_
#define _WINUSER_
#ifndef WINUSERAPI
#if !defined(_USER32_) && !defined(WINE_UNIX_LIB)
#define WINUSERAPI DECLSPEC_HIDDEN
#define WINUSERAPI DECLSPEC_IMPORT
#else
#define WINUSERAPI
#endif
#endif
#ifndef RC_INVOKED
#include <stdarg.h>
......
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