Skip to content

Commit 1183e4a

Browse files
committed
Fixup extern declarations for windows
1 parent 6fe53b1 commit 1183e4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Headers/GNUstepBase/GSURITemplate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern "C" {
4040

4141
/** The domain of errors returned by `GSURITemplate` objects.
4242
*/
43-
extern NSString *const GSURITemplateErrorDomain;
43+
GS_EXPORT NSString* const GSURITemplateErrorDomain;
4444

4545
typedef NS_ENUM(NSInteger, GSURITemplateError)
4646
{

Source/Additions/GSURITemplate.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
/* Constants for NSError results.
3535
*/
36-
NSString *const GSURITemplateDomain = @"org.gnustep.GSURITemplate";
37-
NSString *const GSURITemplateScanLocationKey = @"scanLocation";
36+
GS_DECLARE NSString *const GSURITemplateDomain = @"org.gnustep.GSURITemplate";
37+
GS_DECLARE NSString *const GSURITemplateScanLocationKey = @"scanLocation";
3838

3939
/* Cached character sets for scanning patterns.
4040
*/

0 commit comments

Comments
 (0)