Disable "secure" warnings in posix.

This commit is contained in:
Victor Zverovich 2014-12-16 07:07:09 -08:00
parent 0d1eb8b1ea
commit c630d1f236
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#ifndef _WIN32
# include <unistd.h>
#else
# define _CRT_SECURE_NO_WARNINGS
# include <windows.h>
# include <io.h>

View File

@ -32,6 +32,7 @@
#include <climits>
#ifdef _WIN32
# define _CRT_SECURE_NO_WARNINGS
# include <io.h>
# undef max
# undef ERROR