diff options
Diffstat (limited to 'GTMDefines.h')
-rw-r--r-- | GTMDefines.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/GTMDefines.h b/GTMDefines.h index 968f868..5242e88 100644 --- a/GTMDefines.h +++ b/GTMDefines.h @@ -74,6 +74,12 @@ #endif #endif +// Give ourselves a consistent way of exporting things if we have visibility +// set to hidden. +#if !defined (GTM_EXPORT) + #define GTM_EXPORT __attribute__((visibility("default"))) +#endif + // _GTMDevLog & _GTMDevAssert // // _GTMDevLog & _GTMDevAssert are meant to be a very lightweight shell for |