aboutsummaryrefslogtreecommitdiffstats
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 197b9b5d05..0335f88145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
Tue Sep 26 15:29:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
- * win32/Makefile.sub (CPP): check predefined value.
+ * {win32,wince}/Makefile.sub (CPP): check predefined value.
Tue Sep 26 07:55:16 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index 45686e1ccf..a2afe7997a 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)