mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:40:51 +00:00
include: Don't use dllexport attribute for Wine PE modules.
This commit is contained in:
parent
bbdec47b96
commit
dc4bad6d85
|
@ -180,7 +180,10 @@ extern "C" {
|
|||
|
||||
/* a couple of useful Wine extensions */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(__WINESRC__) && !defined(WINE_UNIX_LIB)
|
||||
/* Wine uses .spec file for PE exports */
|
||||
# define DECLSPEC_EXPORT
|
||||
#elif defined(_MSC_VER)
|
||||
# define DECLSPEC_EXPORT __declspec(dllexport)
|
||||
#elif defined(__MINGW32__)
|
||||
# define DECLSPEC_EXPORT __attribute__((dllexport))
|
||||
|
|
Loading…
Reference in a new issue