mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Only use dllexport attribute for windows targets.
This commit is contained in:
parent
134524ce85
commit
1418186d82
1 changed files with 5 additions and 1 deletions
|
@ -228,7 +228,11 @@ typedef union _LARGE_INTEGER {
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define DLLEXPORT __declspec(dllexport)
|
#define DLLEXPORT __declspec(dllexport)
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
|
#if BOOST_OS_WINDOWS
|
||||||
#define DLLEXPORT __attribute__((dllexport))
|
#define DLLEXPORT __attribute__((dllexport))
|
||||||
|
#else
|
||||||
|
#define DLLEXPORT
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#error No definition for DLLEXPORT
|
#error No definition for DLLEXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue