From: Vadim Konovalov Date: Sun, 12 May 2002 02:34:24 +0000 (+0400) Subject: a bit more for WinCE X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bcdf844ec43758755fb92c24cba65e915d95b25b;p=p5sagit%2Fp5-mst-13.2.git a bit more for WinCE Message-ID: <007b01c1f93c$0e03f960$035cc3d9@vad> p4raw-id: //depot/perl@16549 --- diff --git a/wince/wince.c b/wince/wince.c index f72c1fe..8aefe6c 100644 --- a/wince/wince.c +++ b/wince/wince.c @@ -947,12 +947,11 @@ win32_rename(const char *oname, const char *newname) DllExport int win32_setmode(int fd, int mode) { - if(mode != O_BINARY) - { - Perl_croak(aTHX_ PL_no_func, "setmode"); - return -1; - } - return 0; + /* currently 'celib' seem to have this function in src, but not + * exported. When it will be, we'll uncomment following line. + */ + /* return xcesetmode(fd, mode); */ + return 0; } DllExport long