The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
446 B
18 lines
446 B
5 years ago
|
#if defined _WIN32
|
||
|
#ifdef MESON_STATIC_BUILD
|
||
|
#define SYMBOL_EXPORT
|
||
|
#define SYMBOL_IMPORT
|
||
|
#else
|
||
|
#define SYMBOL_IMPORT __declspec(dllimport)
|
||
|
#define SYMBOL_EXPORT __declspec(dllexport)
|
||
|
#endif
|
||
|
#else
|
||
|
#define SYMBOL_IMPORT
|
||
|
#if defined __GNUC__
|
||
|
#define SYMBOL_EXPORT __attribute__ ((visibility("default")))
|
||
|
#else
|
||
|
#pragma message ("Compiler does not support symbol visibility.")
|
||
|
#define SYMBOL_EXPORT
|
||
|
#endif
|
||
|
#endif
|