Merge pull request #33 from gnustep/ivucica-fix-gnutls-guard

GSTLS.h: Change guard to check for /value/ of GS_USE_GNUTLS.
This commit is contained in:
rfm 2019-02-12 19:37:46 +00:00 committed by GitHub
commit cf62a50f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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