Commit c95908bd authored by Victor Zverovich's avatar Victor Zverovich

Disable bogus MSVC warnings

parent c630d1f2
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
// Disable bogus MSVC warnings.
#define _CRT_SECURE_NO_WARNINGS
#include "posix.h" #include "posix.h"
#include <limits.h> #include <limits.h>
...@@ -34,7 +37,6 @@ ...@@ -34,7 +37,6 @@
#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>
......
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