mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-25 06:32:29 +00:00
Redefine `id' when including openssl header files so it works on gcc 3.x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9757 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fd8bf5d3d6
commit
a5a9459278
1 changed files with 7 additions and 1 deletions
|
@ -23,9 +23,15 @@
|
|||
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
#include <openssl/ssl.h>
|
||||
/* Because openssl uses `id' as variable name sometime,
|
||||
while it is an Objective-C reserved keyword. */
|
||||
#define id id_x_
|
||||
#include <openssl/ssl.h>
|
||||
#undef id
|
||||
#endif
|
||||
|
||||
#include <base/preface.h>
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSData.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue