mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-20 05:00:50 +02:00
Actually commit the mod-null changes this time!
This commit is contained in:
@@ -12,27 +12,7 @@
|
||||
* else gets all symbols made public, which gets messy */
|
||||
/* The Visual Studio implementation */
|
||||
#ifdef _MSC_VER
|
||||
#define MOD_NULL_DLL_IMPORT _declspec(dllimport)
|
||||
#ifdef BUILDING_MOD_NULL
|
||||
#define MOD_NULL_DLL_API _declspec(dllexport)
|
||||
#elif _DLL
|
||||
#define MOD_NULL_DLL_API _declspec(dllimport)
|
||||
#else
|
||||
#define AUDACITY_DLL_API
|
||||
#endif
|
||||
#endif //_MSC_VER
|
||||
|
||||
/* The GCC implementation */
|
||||
#ifdef CC_HASVISIBILITY // this is provided by the configure script, is only
|
||||
// enabled for suitable GCC versions
|
||||
/* The incantation is a bit weird here because it uses ELF symbol stuff. If we
|
||||
* make a symbol "default" it makes it visible (for import or export). Making it
|
||||
* "hidden" means it is invisible outside the shared object. */
|
||||
#define MOD_NULL_DLL_IMPORT __attribute__((visibility("default")))
|
||||
#ifdef BUILDING_MOD_NULL
|
||||
#define MOD_NULL_DLL_API __attribute__((visibility("default")))
|
||||
#else
|
||||
#define MOD_NULL_DLL_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
#define DLL_API _declspec(dllexport)
|
||||
#else
|
||||
#define DLL_API __attribute__ ((visibility("default")))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user