diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-01-26 09:11:33 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-01-26 09:11:33 -0500 |
commit | 3060c476e9f702848728ed9097ed080bc5ff8205 (patch) | |
tree | b7b4d2a50a8eb1254ef05dfef4940d699916e2fa | |
parent | 53aac0e89097c8fae791856cb7d2c47b824c6865 (diff) |
Export another unused symbols in category-only files for when they are used in static libs to avoid linker warnings
-rw-r--r-- | Foundation/GTMNSData+zlib.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Foundation/GTMNSData+zlib.m b/Foundation/GTMNSData+zlib.m index d6629d2..4f8df8c 100644 --- a/Foundation/GTMNSData+zlib.m +++ b/Foundation/GTMNSData+zlib.m @@ -20,6 +20,10 @@ #import <zlib.h> #import "GTMDefines.h" +// Export a nonsense symbol to suppress a libtool warning when this is linked alone in a static lib. +__attribute__((visibility("default"))) char GTMNSDataZLibExportToSuppressLibToolWarning = 0; + + #define kChunkSize 1024 typedef enum { |