summaryrefslogtreecommitdiff
path: root/include/ruby/3/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/core.h')
-rw-r--r--include/ruby/3/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ruby/3/core.h b/include/ruby/3/core.h
index be8a50a5fb..00b3a6104f 100644
--- a/include/ruby/3/core.h
+++ b/include/ruby/3/core.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_CORE_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_CORE_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -30,3 +32,4 @@
#include "ruby/3/core/rstring.h"
#include "ruby/3/core/rstruct.h"
#include "ruby/3/core/rtypeddata.h"
+#endif /* RUBY3_CORE_H */