Commit c630d1f2 authored by Victor Zverovich's avatar Victor Zverovich

Disable "secure" warnings in posix.

parent 0d1eb8b1
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#ifndef _WIN32 #ifndef _WIN32
# include <unistd.h> # include <unistd.h>
#else #else
# define _CRT_SECURE_NO_WARNINGS
# include <windows.h> # include <windows.h>
# include <io.h> # include <io.h>
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <climits> #include <climits>
#ifdef _WIN32 #ifdef _WIN32
# define _CRT_SECURE_NO_WARNINGS
# include <io.h> # include <io.h>
# undef max # undef max
# undef ERROR # undef ERROR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment