Commit f8c9106d authored by Victor Zverovich's avatar Victor Zverovich

Prevent potential warnings about macro redefinitions.

parent ade5381f
......@@ -26,6 +26,7 @@
*/
// Disable useless MSVC warnings.
#undef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#include "format.h"
......@@ -42,6 +43,7 @@ using std::size_t;
using fmt::Formatter;
#if _MSC_VER
# undef snprintf
# define snprintf _snprintf
#endif
......
......@@ -26,6 +26,7 @@
*/
// Disable useless MSVC warnings.
#undef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#include <cctype>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment