office-gobmx/external/frozen/defines_h_constexpr_string.patch.0
Tomaž Vajngerl 472fec1b45 Add frozen library support - for compile-time dict, set support
Change-Id: I8fa02569ba02048cc3ef02b349aafba1c0cbebb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153173
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-06-17 12:31:07 +02:00

11 lines
323 B
Text

--- include/frozen/bits/defines.h
+++ include/frozen/bits/defines.h
@@ -59,7 +59,7 @@
#define FROZEN_LETITGO_HAS_DEDUCTION_GUIDES
#endif
-#if __cpp_lib_constexpr_string >= 201907L
+#if defined(__cpp_lib_constexpr_string) && __cpp_lib_constexpr_string >= 201907L
#define FROZEN_LETITGO_HAS_CONSTEXPR_STRING
#endif