Fix two MSVC warnings in apps.c

warning C4996: 'fileno': The POSIX name for this item is deprecated.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4172)
This commit is contained in:
FdaSilvaYY 2017-08-16 15:40:40 +02:00 committed by Rich Salz
parent 31a80694d4
commit 2e38091c14

1
e_os.h
View File

@ -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 <strings.h>