fixed std::min and std::max problem because of min and max macros in windows.h
This commit is contained in:
parent
001054c8a0
commit
e618eeb103
@ -25,7 +25,9 @@
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef FMT_HEADER_ONLY
|
||||||
#include "format.h"
|
#include "format.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@ -39,6 +41,8 @@
|
|||||||
# ifdef __MINGW32__
|
# ifdef __MINGW32__
|
||||||
# include <cstring>
|
# include <cstring>
|
||||||
# endif
|
# endif
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# define NOMINMAX
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user