POSIX: DynamicLib: Force visibility of exports in case of -fvisibility=hidden

pull/35/head
Paul Hollinsky 2021-06-11 15:20:41 -04:00
parent 9b2eae4a6c
commit 4588cb55fa
1 changed files with 1 additions and 2 deletions

View File

@ -9,8 +9,7 @@
#include "icsneo/platform/posix/linux/dynamiclib.h" #include "icsneo/platform/posix/linux/dynamiclib.h"
#endif #endif
// Nothing special is needed to export #define DLLExport __attribute__((visibility("default")))
#define DLLExport
#define LegacyDLLExport DLLExport #define LegacyDLLExport DLLExport
// #ifndef ICSNEO_NO_AUTO_DESTRUCT // #ifndef ICSNEO_NO_AUTO_DESTRUCT