summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-08-16 15:40:40 +0200
committerRich Salz <rsalz@openssl.org>2017-08-16 10:36:34 -0400
commit2e38091c14f3392ceed851b57b93ca171282b488 (patch)
treea67f6bc0e7229bf1c3956821d712308a9801fe37 /e_os.h
parent31a80694d425bf7f3a0ed5cc2ee775d9418a5490 (diff)
downloadopenssl-new-2e38091c14f3392ceed851b57b93ca171282b488.tar.gz
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)
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h1
1 files changed, 1 insertions, 0 deletions
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 <strings.h>