aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--win32/Makefile.sub4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d354f00ae2..c3828bcc9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 27 22:43:40 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * win32/Makefile.sub: fix config.h path to include.
+
Tue Mar 27 17:08:08 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* win32/win32.c (check_if_dir): fix memory leak.
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index a796b32356..1358d3217b 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -451,8 +451,8 @@ config.status: $(CONFIG_H)
BANG = !
-!if exist(config.h)
-!include config.h
+!if exist($(RUBY_CONFIG_H))
+!include $(RUBY_CONFIG_H)
!endif
guard = INCLUDE_RUBY_CONFIG_H