diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | win32/Makefile.sub | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Sep 26 15:31:26 2006 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/Makefile.sub (CPP): check predefined value. + Mon Sep 25 22:26:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913] diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 48f46f25d3..2cd93be76e 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -34,7 +34,7 @@ VPATH = $(srcdir);$(srcdir)/missing;$(srcdir)/win32 !if !defined(CC) CC = cl !endif -!if !defined(CPP) +!if !defined(CPP) || "$(CPP)" == "cl" CPP = $(CC) -E !endif !if !defined(YACC) |