summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-26 00:55:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-26 00:55:09 +0000
commit07a88b713df19bd7e36bbf1576d6231cdfb955a1 (patch)
tree3d0d1bc92620df23cf5e70ac0ca97051937a8dca /include
parent18684d9f7cb64b93ec610f1c1deeabcfea364c08 (diff)
* include/ruby{io,sig}.h: moved to include/ruby/backward.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/backward/rubyio.h6
-rw-r--r--include/ruby/backward/rubysig.h (renamed from include/rubysig.h)0
-rw-r--r--include/rubyio.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/include/ruby/backward/rubyio.h b/include/ruby/backward/rubyio.h
new file mode 100644
index 00000000000..d5246db546b
--- /dev/null
+++ b/include/ruby/backward/rubyio.h
@@ -0,0 +1,6 @@
+#if defined __GNUC__
+#warning use "ruby/io.h" instead of "rubyio.h"
+#elif defined _MSC_VER || defined __BORLANDC__
+#pragma message("warning: use \"ruby/io.h\" instead of \"rubyio.h\"")
+#endif
+#include "ruby/io.h"
diff --git a/include/rubysig.h b/include/ruby/backward/rubysig.h
index 6a0cf0ef9c4..6a0cf0ef9c4 100644
--- a/include/rubysig.h
+++ b/include/ruby/backward/rubysig.h
diff --git a/include/rubyio.h b/include/rubyio.h
deleted file mode 100644
index 59ecedca96e..00000000000
--- a/include/rubyio.h
+++ /dev/null
@@ -1 +0,0 @@
-#include "ruby/io.h"