diff options
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r-- | compat/macros.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp index d51bace7..766730db 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -71,7 +71,3 @@ # define unlikely(x) (x) #endif -#define progn(...) (([&]() { __VA_ARGS__ })()) -#define prog1(x, ...) (([&]() { auto _ret1324 = (x); do { __VA_ARGS__; } while (0); return _ret1324; })()) - -#define once_only(...) do { static bool once__ = false; if (!once__) { once__ = true; __VA_ARGS__; } } while(false) |