summaryrefslogtreecommitdiffstats
path: root/wince
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-07 03:52:15 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-07 03:52:15 +0000
commitc7d3a06e027810cb1b8551bc28586a0a0db4737a (patch)
tree06771a9d092ce8afad5105d6394882ff65c60b74 /wince
parent3e47b30ee12c1890aac458202e4c5f1f7707f17b (diff)
downloadruby-c7d3a06e027810cb1b8551bc28586a0a0db4737a.tar.gz
ruby-c7d3a06e027810cb1b8551bc28586a0a0db4737a.tar.xz
ruby-c7d3a06e027810cb1b8551bc28586a0a0db4737a.zip
* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
* win32/win32.[ch] (fcntl): ditto. * win32/win32.c (rb_w32_connect): support nonblocking mode. * ext/socket/socket.c (wait_connectable, ruby_connect): support nonblocking connect on various platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince')
-rw-r--r--wince/Makefile.sub1
1 files changed, 1 insertions, 0 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index 3ba9e8085..5f87da64f 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -247,6 +247,7 @@ config.h:
#define HAVE_GETCWD 1
#define HAVE_CHSIZE 0
#define HAVE_TIMES 1
+#define HAVE_FCNTL 1
#define HAVE_TELLDIR 1
#define HAVE_SEEKDIR 1
#define HAVE_MKTIME 1