mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Disable "secure" warnings in posix.
This commit is contained in:
parent
0d1eb8b1ea
commit
c630d1f236
1
posix.cc
1
posix.cc
@ -34,6 +34,7 @@
|
||||
#ifndef _WIN32
|
||||
# include <unistd.h>
|
||||
#else
|
||||
# define _CRT_SECURE_NO_WARNINGS
|
||||
# include <windows.h>
|
||||
# include <io.h>
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <climits>
|
||||
|
||||
#ifdef _WIN32
|
||||
# define _CRT_SECURE_NO_WARNINGS
|
||||
# include <io.h>
|
||||
# undef max
|
||||
# undef ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user