mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Add NSConstantString literal as global variable to avoid linker error
This commit is contained in:
parent
847a42dcba
commit
844f7c5587
2 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
#if defined(__OBJC__) && defined(__clang__) && defined(_MSC_VER)
|
||||
id __work_around_clang_bug = @"__unused__";
|
||||
#endif
|
||||
|
||||
#if GS_HAVE_NSURLSESSION
|
||||
|
||||
#import "Helpers/HTTPServer.h"
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
#include <Foundation/NSProgress.h>
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
#if defined(__OBJC__) && defined(__clang__) && defined(_MSC_VER)
|
||||
id __work_around_clang_bug = @"__unused__";
|
||||
#endif
|
||||
|
||||
#if GS_HAVE_NSURLSESSION
|
||||
|
||||
#import "Helpers/HTTPServer.h"
|
||||
|
|
Loading…
Reference in a new issue