Workaround C complex.h idiocy

This commit is contained in:
Victor Zverovich
2022-09-03 06:35:55 -07:00
parent 29c6000137
commit aec3bb5d0a
4 changed files with 13 additions and 14 deletions

View File

@@ -8,12 +8,14 @@
#include <iterator>
#include <vector>
#define I 42 // simulate https://en.cppreference.com/w/c/numeric/complex/I
#include "fmt/chrono.h"
#include "fmt/color.h"
#include "fmt/format.h"
#include "fmt/ostream.h"
#include "fmt/ranges.h"
#include "fmt/xchar.h"
#undef I
// Exercise the API to verify that everything we expect to can compile.
void test_format_api() {