fix module test odr violations (#2414)

This commit is contained in:
Cameron DaCamara
2021-07-17 09:16:49 -07:00
committed by GitHub
parent 2038bf6183
commit 00235d8a99
3 changed files with 11 additions and 0 deletions

View File

@ -10,7 +10,11 @@
#include <locale>
#include <string>
#ifdef FMT_MODULE_TEST
import fmt;
#else
#include "fmt/os.h"
#endif // FMT_MODULE_TEST
#ifdef _MSC_VER
# define FMT_VSNPRINTF vsprintf_s