summaryrefslogtreecommitdiff
path: root/ruby_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_assert.h')
-rw-r--r--ruby_assert.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ruby_assert.h b/ruby_assert.h
index 139256fed8..52b56771cc 100644
--- a/ruby_assert.h
+++ b/ruby_assert.h
@@ -1,3 +1,13 @@
+#ifndef RUBY_TOPLEVEL_ASSERT_H /*-*-C-*-vi:se ft=c:*/
+#define RUBY_TOPLEVEL_ASSERT_H
+/**
+ * @file
+ * @author Ruby developers <ruby-core@ruby-lang.org>
+ * @copyright This file is a part of the programming language Ruby.
+ * Permission is hereby granted, to either redistribute and/or
+ * modify this file, provided that the conditions mentioned in the
+ * file COPYING are met. Consult the file for details.
+ */
#include "ruby/assert.h"
#if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
@@ -8,3 +18,4 @@
#undef assert
#define assert RUBY_ASSERT
#endif
+#endif /* RUBY_TOPLEVEL_ASSERT_H */