Disable bogus MSVC warnings

This commit is contained in:
Victor Zverovich 2014-12-17 06:41:21 -08:00
parent c630d1f236
commit c95908bd8c

View File

@ -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 @@
#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>