From 3060c476e9f702848728ed9097ed080bc5ff8205 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Tue, 26 Jan 2016 09:11:33 -0500 Subject: Export another unused symbols in category-only files for when they are used in static libs to avoid linker warnings --- Foundation/GTMNSData+zlib.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Foundation') 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 #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 { -- cgit v1.2.3