summaryrefslogtreecommitdiff
path: root/internal/static_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/static_assert.h')
-rw-r--r--internal/static_assert.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/static_assert.h b/internal/static_assert.h
index 7b20b252d2..cc6a59713f 100644
--- a/internal/static_assert.h
+++ b/internal/static_assert.h
@@ -1,4 +1,6 @@
-/** \noop-*-C-*-vi:ft=c
+#ifndef INTERNAL_STATIC_ASSERT_H /*-*-C-*-vi:se ft=c:*/
+#define INTERNAL_STATIC_ASSERT_H
+/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
@@ -11,3 +13,5 @@
#ifndef STATIC_ASSERT
# define STATIC_ASSERT RUBY3_STATIC_ASSERT
#endif
+
+#endif /* INTERNAL_STATIC_ASSERT_H */