Suppress more bogus warnings

This commit is contained in:
Victor Zverovich
2014-12-17 06:53:32 -08:00
parent ecd2b80e8f
commit fb12cfd196
2 changed files with 5 additions and 2 deletions

View File

@@ -25,6 +25,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// Disable bogus MSVC warnings.
#define _CRT_SECURE_NO_WARNINGS
#include "posix-test.h"
#include <errno.h>
@@ -32,7 +35,6 @@
#include <climits>
#ifdef _WIN32
# define _CRT_SECURE_NO_WARNINGS
# include <io.h>
# undef max
# undef ERROR