aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/3/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/globals.h')
-rw-r--r--include/ruby/3/globals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/globals.h b/include/ruby/3/globals.h
index d72e62d905..504058f1bc 100644
--- a/include/ruby/3/globals.h
+++ b/include/ruby/3/globals.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_GLOBALS_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_GLOBALS_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -18,8 +20,6 @@
* extension libraries. They could be written in C++98.
* @brief Ruby-level global variables / constants, visible from C.
*/
-#ifndef RUBY3_GLOBALS_H
-#define RUBY3_GLOBALS_H
#include "ruby/3/attr/pure.h"
#include "ruby/3/dllexport.h"
#include "ruby/3/fl_type.h"