diff options
author | Richard Levitte <levitte@openssl.org> | 2016-05-25 23:35:54 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-05-26 00:48:23 +0200 |
commit | dc6b5c7beb9f637f6cf5b5412e810bd0a9e1983b (patch) | |
tree | 6fd7873ecd3c8fd1274654371adfffa945b37c72 /crypto | |
parent | 656bbdc68c4f6e79209cb7622fac0ca1301dee24 (diff) |
Handle Visual C warning about non-standard function names.
Visual C version from version 2003 complain about certain function
names, for example:
apps\apps.c(2572) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
This adds preprocessor aliases for them in e_os.h.
Additionally, crypto/conf/conf_lib.c needs to include e_os.h to catch
those aliases.
RT#4488
RT#4489
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/conf/conf_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c index a1e42eb7c4..c99837387e 100644 --- a/crypto/conf/conf_lib.c +++ b/crypto/conf/conf_lib.c @@ -15,6 +15,7 @@ #include <openssl/conf.h> #include <openssl/conf_api.h> #include <openssl/lhash.h> +#include "e_os.h" static CONF_METHOD *default_CONF_method = NULL; |