Workaround X11 madness (#1388)
This commit is contained in:
1 parent
6bfc9af8c9
commit
213e09644f
2 files changed
+8
-2
No files matched your search
@@ -20,8 +20,14 @@
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
// Check if fmt/format.h compiles with the X11 index macro defined.
|
||||
#define index(x, y) no nice things
|
||||
|
||||
#include "fmt/color.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
#undef index
|
||||
|
||||
#include "gmock.h"
|
||||
#include "gtest-extra.h"
|
||||
#include "mock-allocator.h"
|
||||
|
||||
Reference in new issue
Block a user