aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/3/special_consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/special_consts.h')
-rw-r--r--include/ruby/3/special_consts.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/ruby/3/special_consts.h b/include/ruby/3/special_consts.h
index c66dd95d6a..683cebf1ed 100644
--- a/include/ruby/3/special_consts.h
+++ b/include/ruby/3/special_consts.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_SPECIAL_CONSTS_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_SPECIAL_CONSTS_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -22,8 +24,6 @@
* SIGPPL Workshop on Programming and Programming Languages
* (PPL2008), pp. 9-16, 2008.
*/
-#ifndef RUBY3_SPECIAL_CONSTS_H
-#define RUBY3_SPECIAL_CONSTS_H
#include "ruby/3/attr/artificial.h"
#include "ruby/3/attr/const.h"
#include "ruby/3/attr/constexpr.h"
@@ -164,7 +164,6 @@ RB_FLONUM_P(VALUE obj)
#endif
}
-
RUBY3_ATTR_CONST()
RUBY3_ATTR_CONSTEXPR(CXX11)
RUBY3_ATTR_ARTIFICIAL()