summaryrefslogtreecommitdiff
path: root/zen/legacy_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/legacy_compiler.h')
-rw-r--r--zen/legacy_compiler.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h
index 16e22d03..82c404d8 100644
--- a/zen/legacy_compiler.h
+++ b/zen/legacy_compiler.h
@@ -7,9 +7,6 @@
#ifndef LEGACY_COMPILER_H_839567308565656789
#define LEGACY_COMPILER_H_839567308565656789
- #include <numbers> //C++20
-
-
//https://en.cppreference.com/w/cpp/feature_test
@@ -18,12 +15,12 @@
//https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
namespace std
{
-
+}
//---------------------------------------------------------------------------------
-
-
-}
+//constinit, consteval
+ #define constinit2 constinit //GCC has it
+ #define consteval2 consteval //
namespace zen
bgstack15