summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 05:55:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 05:55:34 +0000
commit7981720812b73175c27a90d1d653c5e127e439ff (patch)
tree814aee926e86610189abfc84805083143ca566f9 /include
parent17fe6a652f2e6e465f862a2054c1f294a2d16ed5 (diff)
* include/ruby/ruby.h: renamed include guard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 16ffa1dbbc..307bd1c820 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1,18 +1,18 @@
/**********************************************************************
- ruby.h -
+ ruby/ruby.h -
$Author$
created at: Thu Jun 10 14:26:32 JST 1993
- Copyright (C) 1993-2007 Yukihiro Matsumoto
+ Copyright (C) 1993-2008 Yukihiro Matsumoto
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
Copyright (C) 2000 Information-technology Promotion Agency, Japan
**********************************************************************/
-#ifndef RUBY_H
-#define RUBY_H 1
+#ifndef RUBY_RUBY_H
+#define RUBY_RUBY_H 1
#if defined(__cplusplus)
extern "C" {
@@ -21,10 +21,12 @@ extern "C" {
#endif
#endif
+#ifndef RUBY_LIB
#include "ruby/config.h"
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
+#endif
#define NORETURN_STYLE_NEW 1
#ifndef NORETURN
@@ -1066,4 +1068,4 @@ unsigned long ruby_strtoul(const char *str, char **endptr, int base);
#endif
} /* extern "C" { */
#endif
-#endif /* RUBY_H */
+#endif /* RUBY_RUBY_H */