From 232c7ea2ff99471092cd8018357770ae82655ae0 Mon Sep 17 00:00:00 2001 From: berryplus Date: Sun, 12 May 2019 00:02:53 +0900 Subject: [PATCH] =?UTF-8?q?NOMINMAX=E3=81=AE=E5=AE=9A=E7=BE=A9=E3=82=92ifn?= =?UTF-8?q?def=E3=81=A7=E6=8B=AC=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unittests/test-int2dec.cpp | 4 ++++ tests/unittests/test-is_mailaddress.cpp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/tests/unittests/test-int2dec.cpp b/tests/unittests/test-int2dec.cpp index 25e57128fb..96d532c5df 100644 --- a/tests/unittests/test-int2dec.cpp +++ b/tests/unittests/test-int2dec.cpp @@ -1,7 +1,11 @@ #include #include + +#ifndef NOMINMAX #define NOMINMAX +#endif /* #ifndef NOMINMAX */ + #include #include #include "basis/primitive.h" diff --git a/tests/unittests/test-is_mailaddress.cpp b/tests/unittests/test-is_mailaddress.cpp index 3ad214b57e..77836a7b42 100644 --- a/tests/unittests/test-is_mailaddress.cpp +++ b/tests/unittests/test-is_mailaddress.cpp @@ -24,7 +24,10 @@ */ #include +#ifndef NOMINMAX #define NOMINMAX +#endif /* #ifndef NOMINMAX */ + #include #include #include