summaryrefslogtreecommitdiff
path: root/include/ruby/3/constant_p.h
diff options
context:
space:
mode:
-rw-r--r--include/ruby/3/constant_p.h12
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
* @file
* @author Ruby developers <[email protected]>
* @copyright This file is a part of the programming language Ruby.
@@ -26,12 +28,10 @@
*/
#include "ruby/3/has/builtin.h"
-#if defined(RUBY3_CONSTANT_P)
-# /* Take that. */
-
-#elif RUBY3_HAS_BUILTIN(__builtin_constant_p)
# define RUBY3_CONSTANT_P(expr) __builtin_constant_p(expr)
-
#else
# define RUBY3_CONSTANT_P(expr) 0
#endif