From a8c3540b32d7621c183627d7cc198f4b24798387 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 4 Oct 2008 13:48:20 +0000 Subject: * dln.c: Ruby no longer supports Windows CE. * eval.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/win32.h: ditto. * ruby.c: ditto. * strftime.c: ditto. * win32/Makefile.sub: ditto. * win32/win32.c: ditto. * ext/tk/extconf.rb: ditto. * lib/fileutils.rb: ditto. * test/fileutils/test_fileutils.rb: ditto. * wince/*: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/defines.h | 2 -- include/ruby/win32.h | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 6a171d6231..f810d3cb60 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -105,10 +105,8 @@ void xfree(void*); #if defined(_WIN32) || defined(__EMX__) #define DOSISH 1 -#ifndef _WIN32_WCE # define DOSISH_DRIVE_LETTER #endif -#endif #if defined(__NeXT__) || defined(__APPLE__) /* Do not trust WORDS_BIGENDIAN from configure since -arch compiler flag may diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 19e5030d92..bd4d66493b 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -33,11 +33,6 @@ extern "C" { #define NT 1 /* deprecated */ -#ifdef _WIN32_WCE -#undef CharNext -#define CharNext CharNextA -#endif - // // We're not using Microsoft's "extensions" to C for // Structured Exception Handling (SEH) so we can nuke these @@ -164,7 +159,7 @@ extern DWORD rb_w32_osid(void); #undef execv #define execv(path,argv) rb_w32_aspawn(P_OVERLAY,path,argv) -#if !defined(__BORLANDC__) && !defined(_WIN32_WCE) +#if !defined(__BORLANDC__) #undef isatty #define isatty(h) rb_w32_isatty(h) #endif @@ -265,7 +260,7 @@ extern int kill(int, int); extern int fcntl(int, int, ...); extern rb_pid_t rb_w32_getpid(void); extern rb_pid_t rb_w32_getppid(void); -#if !defined(__BORLANDC__) && !defined(_WIN32_WCE) +#if !defined(__BORLANDC__) extern int rb_w32_isatty(int); #endif extern int rb_w32_mkdir(const char *, int); -- cgit v1.2.3