summaryrefslogtreecommitdiff
path: root/include/ruby/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 7312f4e9ab..d42cadc058 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -85,6 +85,7 @@ typedef struct rb_io_t {
#define FMODE_WSPLIT 0x0200
#define FMODE_WSPLIT_INITIALIZED 0x0400
#define FMODE_TRUNC 0x0800
+#define FMODE_TEXTMODE 0x1000
/* #define FMODE_PREP 0x10000 */
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)