summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:48:20 +0000
commita8c3540b32d7621c183627d7cc198f4b24798387 (patch)
tree602e5c4e6a866436cf999e994d4590df9c89fb2a /include
parent642e08187927b2debaa0d84a112123043f0f7912 (diff)
* 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
Diffstat (limited to 'include')
-rw-r--r--include/ruby/defines.h2
-rw-r--r--include/ruby/win32.h9
2 files changed, 2 insertions, 9 deletions
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);