mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
GSTLS.h: Change guard to check for /value/ of GS_USE_GNUTLS.
Previously, code checked for whether its defined or not. This preprocessor constant might be defined with a zero value indicating desire not to use GnuTLS, which would still pass the old check.
This commit is contained in:
parent
921f7521ff
commit
9d67048ff0
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2019-02-12 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* Headers/GNUstepBase/GSTLS.h: Change guard to check for value of
|
||||
GS_USE_GNUTLS and not for its defined state. This preprocessor
|
||||
constant might be defined with a zero value indicating desire not to
|
||||
use GnuTLS, which would still pass the old check.
|
||||
|
||||
2019-02-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSObject.m: Improve thread safety with NSZombie particularly
|
||||
|
|
|
@ -39,7 +39,7 @@ extern NSString * const GSTLSRevokeFile;
|
|||
extern NSString * const GSTLSServerName;
|
||||
extern NSString * const GSTLSVerify;
|
||||
|
||||
#if defined(GS_USE_GNUTLS)
|
||||
#if GS_USE_GNUTLS
|
||||
/* Temporarily redefine 'id' in case the headers use the objc reserved word.
|
||||
*/
|
||||
#define id GNUTLSID
|
||||
|
|
Loading…
Reference in a new issue