aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'version.h')
-rw-r--r--version.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/version.h b/version.h
index 6868ea5067..5f1bd21d5f 100644
--- a/version.h
+++ b/version.h
@@ -1,3 +1,13 @@
+#ifndef RUBY_TOPLEVEL_VERSION_H /*-*-C-*-vi:se ft=c:*/
+#define RUBY_TOPLEVEL_VERSION_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.
+ */
# define RUBY_VERSION_MAJOR RUBY_API_VERSION_MAJOR
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 0
@@ -75,3 +85,5 @@
RUBY_BIRTH_YEAR_STR"-" \
RUBY_RELEASE_YEAR_STR" " \
RUBY_AUTHOR
+
+#endif /* RUBY_TOPLEVEL_VERSION_H */