Fix windows build.
This commit is contained in:
+7
-1
@@ -27,9 +27,15 @@
|
||||
|
||||
#include <cstring>
|
||||
#include "gtest-extra.h"
|
||||
#include "format.h"
|
||||
#include "util.h"
|
||||
|
||||
// Check if format.h compiles with windows.h included.
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "format.h"
|
||||
|
||||
using fmt::StringRef;
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user