summaryrefslogtreecommitdiff
path: root/include/ruby/3/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/error.h')
-rw-r--r--include/ruby/3/error.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/3/error.h b/include/ruby/3/error.h
index e45b03d90a..49892199d4 100644
--- a/include/ruby/3/error.h
+++ b/include/ruby/3/error.h
@@ -1,4 +1,6 @@
-/** \noop-*-C++-*-vi:ft=cpp
+#ifndef RUBY3_ERROR_H /*-*-C++-*-vi:se ft=cpp:*/
+#define RUBY3_ERROR_H
+/**
* @file
* @author Ruby developers <[email protected]>
* @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 Declares ::rb_raise().
*/
-#ifndef RUBY3_ERROR_H
-#define RUBY3_ERROR_H
#include "ruby/3/dllexport.h"
#include "ruby/3/value.h"
#include "ruby/backward/2/attributes.h"