summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 01:16:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 01:16:58 +0000
commit53149d38bd53326c5efab93e9956bea5d686d3ff (patch)
tree557c4ec296e01d099ce8d234d8aa2aaa9eae7131
parent7d0cf5205f4afa1e2c7f87c046e8d2856a216af9 (diff)
downloadruby-53149d38bd53326c5efab93e9956bea5d686d3ff.tar.gz
ruby-53149d38bd53326c5efab93e9956bea5d686d3ff.tar.xz
ruby-53149d38bd53326c5efab93e9956bea5d686d3ff.zip
* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--rubyio.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f08d12160..d2fb1041d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Feb 25 10:16:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
+
Sat Feb 24 19:39:16 2007 Minero Aoki <aamine@loveruby.net>
* common.mk: new target "btest", to run bootstraptests.
diff --git a/rubyio.h b/rubyio.h
index 144fc6cd4..14d203918 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -39,6 +39,8 @@ typedef struct rb_io_t {
int rbuf_capa;
} rb_io_t;
+#define HAVE_RB_IO_T 1
+
#define FMODE_READABLE 1
#define FMODE_WRITABLE 2
#define FMODE_READWRITE 3