diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-09-03 14:05:58 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-09-03 14:05:58 +0200 |
commit | 16c5af445ef3067bb364d97460fc2d80beb409be (patch) | |
tree | d2586cf35e6fe9b4c20b34af30f3351f7833ae01 /ACE/ace/SSL/SSL_Asynch_BIO.cpp | |
parent | 5d4650e1fb199403206cd8ef5ea41f2b095f1b6f (diff) | |
download | ATCD-16c5af445ef3067bb364d97460fc2d80beb409be.tar.gz |
Only define BIO_set_flags when it has not been defined yet
* ACE/ace/SSL/SSL_Asynch_BIO.cpp:
Diffstat (limited to 'ACE/ace/SSL/SSL_Asynch_BIO.cpp')
-rw-r--r-- | ACE/ace/SSL/SSL_Asynch_BIO.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/SSL/SSL_Asynch_BIO.cpp b/ACE/ace/SSL/SSL_Asynch_BIO.cpp index 6bb8aa2f677..a657d8a14e6 100644 --- a/ACE/ace/SSL/SSL_Asynch_BIO.cpp +++ b/ACE/ace/SSL/SSL_Asynch_BIO.cpp @@ -58,7 +58,9 @@ static BIO_METHOD methods_ACE = # define BIO_set_init(b, val) b->init = val # define BIO_set_data(b, val) b->ptr = val # define BIO_set_num(b, val) b->num = val -# define BIO_set_flags(b, val) b->flags = val +# if !defined (BIO_set_flags) +# define BIO_set_flags(b, val) b->flags = val +# endif /* !BIO_set_flags */ # define BIO_set_shutdown(b, val) b->shutdown = val # define BIO_get_init(b) b->init # define BIO_get_data(b) b->ptr |