summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--wince/Makefile.sub2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e67e414d7..9465d004c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
Tue Sep 26 15:31:26 2006 NAKAMURA Usaku <usa@ruby-lang.org>
- * win32/Makefile.sub (CPP): check predefined value.
+ * {win32,wince}/Makefile.sub (CPP): check predefined value.
Mon Sep 25 22:26:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index 9e171f6730..49467d402d 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -34,7 +34,7 @@ VPATH = $(srcdir);$(srcdir)/missing;$(srcdir)/wince
!if !defined(CC)
CC = cl
!endif
-!if !defined(CPP)
+!if !defined(CPP) || "$(CPP)" == "cl"
CPP = $(CC) -E
!endif
!if !defined(YACC)