aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/version.h')
-rw-r--r--libstdc++-v3/include/bits/version.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/version.h b/libstdc++-v3/include/bits/version.h
index a0e3b36..c556aca 100644
--- a/libstdc++-v3/include/bits/version.h
+++ b/libstdc++-v3/include/bits/version.h
@@ -2075,4 +2075,14 @@
#endif /* !defined(__cpp_lib_to_string) && defined(__glibcxx_want_to_string) */
#undef __glibcxx_want_to_string
+#if !defined(__cpp_lib_modules)
+# if (__cplusplus >= 202002L) && (__cpp_modules)
+# define __glibcxx_modules 202207L
+# if defined(__glibcxx_want_all) || defined(__glibcxx_want_modules)
+# define __cpp_lib_modules 202207L
+# endif
+# endif
+#endif /* !defined(__cpp_lib_modules) && defined(__glibcxx_want_modules) */
+#undef __glibcxx_want_modules
+
#undef __glibcxx_want_all