mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix to build without tls support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
77415c00b5
commit
063db3e8ae
1 changed files with 5 additions and 0 deletions
|
@ -713,7 +713,12 @@ NSString * const NSFileHandleOperationException
|
|||
|
||||
+ (void) setData: (NSData*)data forTLSFile: (NSString*)fileName
|
||||
{
|
||||
#if defined(HAVE_GNUTLS)
|
||||
[GSTLSObject setData: data forTLSFile: fileName];
|
||||
#else
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"[NSFileHandle+setData:forTLSFile:] called for a copy of gnustep-base which had GNUTLS support explicitly disabled at configure time"];
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue