Handle Visual C warning about non-standard function names.
authorRichard Levitte <levitte@openssl.org>
Wed, 25 May 2016 21:35:54 +0000 (23:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 25 May 2016 22:48:23 +0000 (00:48 +0200)
commitdc6b5c7beb9f637f6cf5b5412e810bd0a9e1983b
tree6fd7873ecd3c8fd1274654371adfffa945b37c72
parent656bbdc68c4f6e79209cb7622fac0ca1301dee24
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>
crypto/conf/conf_lib.c
e_os.h