From: FdaSilvaYY Date: Wed, 16 Aug 2017 13:40:40 +0000 (+0200) Subject: Fix two MSVC warnings in apps.c X-Git-Tag: OpenSSL_1_1_1-pre1~835 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=2e38091c14f3392ceed851b57b93ca171282b488 Fix two MSVC warnings in apps.c warning C4996: 'fileno': The POSIX name for this item is deprecated. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4172) --- diff --git a/e_os.h b/e_os.h index d4cef609bb..fa40e68633 100644 --- a/e_os.h +++ b/e_os.h @@ -507,6 +507,7 @@ struct servent *PASCAL getservbyname(const char *, const char *); # define strdup _strdup # endif # define unlink _unlink +# define fileno _fileno # endif # else # include