Commit ab05af06 authored by Victor Zverovich's avatar Victor Zverovich

Workaround MSCRT brain damage.

parent 1e58ebf1
......@@ -40,6 +40,11 @@
#include <string>
#include <sstream>
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# define FMT_RESTORE_WARNINGS
#endif
namespace fmt {
namespace internal {
......@@ -1547,4 +1552,8 @@ void BasicFormatter<Char>::DoFormat() {
}
}
#ifndef FMT_RESTORE_WARNINGS
# undef _CRT_SECURE_NO_WARNINGS
#endif
#endif // FORMAT_H_
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