summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);