summaryrefslogtreecommitdiff
path: root/rubyio.h
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
commit96110732f155a53d0e7e37a7975746d76ac10ba7 (patch)
tree557c4ec296e01d099ce8d234d8aa2aaa9eae7131 /rubyio.h
parentf42150744cc0d65ee3d5b2f0064d959de6038802 (diff)
* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rubyio.h b/rubyio.h
index 144fc6cd4b..14d2039183 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