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.
13 lines
384 B
13 lines
384 B
2 years ago
|
/* See http://gcc.gnu.org/wiki/Visibility#How_to_use_the_new_C.2B-.2B-_visibility_support */
|
||
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||
|
#ifdef BUILDING_DLL
|
||
|
#define DLL_PUBLIC __declspec(dllexport)
|
||
|
#else
|
||
|
#define DLL_PUBLIC __declspec(dllimport)
|
||
|
#endif
|
||
|
#else
|
||
|
#define DLL_PUBLIC __attribute__ ((visibility ("default")))
|
||
|
#endif
|
||
|
|
||
|
extern "C" int DLL_PUBLIC cppfunc(void);
|