pineapple-src/externals/vcpkg/ports/fmt/fix-invalid-command.patch
2022-07-23 03:01:36 +02:00

11 lines
393 B
Diff
Executable file

diff --git a/include/fmt/locale.h b/include/fmt/locale.h
index 7571b52..0a34eb4 100644
--- a/include/fmt/locale.h
+++ b/include/fmt/locale.h
@@ -1,2 +1,6 @@
#include "xchar.h"
+#ifdef _WIN32
+#pragma message ("fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead")
+#else
#warning fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead
+#endif