From c630d1f2366ae5eaf6cdc13bcc3fdef504572587 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 16 Dec 2014 07:07:09 -0800 Subject: [PATCH] Disable "secure" warnings in posix. --- posix.cc | 1 + test/posix-test.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/posix.cc b/posix.cc index 4f20c6a9..c3aabffc 100644 --- a/posix.cc +++ b/posix.cc @@ -34,6 +34,7 @@ #ifndef _WIN32 # include #else +# define _CRT_SECURE_NO_WARNINGS # include # include diff --git a/test/posix-test.cc b/test/posix-test.cc index b4ce88e3..75e6af32 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -32,6 +32,7 @@ #include #ifdef _WIN32 +# define _CRT_SECURE_NO_WARNINGS # include # undef max # undef ERROR