aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-12-29 18:57:18 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-12-29 18:57:18 +0000
commit84d1232477f398339e48ea504c45048e9328ef9b (patch)
treea9d48903e6bf318840eba1f38b26f68a7560f0ed /GTMDefines.h
parent2e8516354aacef064d01425808da06d2cdcb4791 (diff)
- Updated some tests for 10.5.6.
- Updated some tests for debug vs. release differences. (added help on log validation for this). - Some fixes build issues w/ different os versions.
Diffstat (limited to 'GTMDefines.h')
-rw-r--r--GTMDefines.h6
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