summaryrefslogtreecommitdiffstats
path: root/bcc32/Makefile.sub
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-31 09:58:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-31 09:58:41 +0000
commitd682b47684d0a7d775ff7d849ecce08d1b530a25 (patch)
tree98db89de12857609052bbb8282450a85bbea2f62 /bcc32/Makefile.sub
parent38c550e4af40d4b7b94600724fa9199d6634c9b7 (diff)
downloadruby-d682b47684d0a7d775ff7d849ecce08d1b530a25.tar.gz
ruby-d682b47684d0a7d775ff7d849ecce08d1b530a25.tar.xz
ruby-d682b47684d0a7d775ff7d849ecce08d1b530a25.zip
* {bcc,win}32/Makefile.sub (config.h): define ssize_t.
* io.c (copy_stream_body): some platform don't have O_NOCTTY. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32/Makefile.sub')
-rw-r--r--bcc32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index b48691e54..f46d5cd65 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -301,6 +301,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub
\#define uint64_t unsigned __int64
\#define HAVE_INTPTR_T 1
\#define HAVE_UINTPTR_T 1
+\#define HAVE_SSIZE_T 1
+\#define ssize_t int
\#define GETGROUPS_T int
\#define RETSIGTYPE void
\#define HAVE_ALLOCA 1