[前][次][番号順一覧][スレッド一覧]

ruby-changes:7229

From: shugo <ko1@a...>
Date: Thu, 21 Aug 2008 14:31:51 +0900 (JST)
Subject: [ruby-changes:7229] Ruby:r18748 (trunk): * strftime.c: include ruby/config.h instead of ruby/ruby.h.

shugo	2008-08-21 14:28:25 +0900 (Thu, 21 Aug 2008)

  New Revision: 18748

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18748

  Log:
    * strftime.c: include ruby/config.h instead of ruby/ruby.h.
    * common.mk: removed the old rule for missing/strftime.c.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/strftime.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18747)
+++ ChangeLog	(revision 18748)
@@ -1,3 +1,9 @@
+Thu Aug 21 14:22:50 2008  Shugo Maeda  <shugo@r...>
+
+	* strftime.c: include ruby/config.h instead of ruby/ruby.h.
+
+	* common.mk: removed the old rule for missing/strftime.c.
+
 Thu Aug 21 09:29:01 2008  Shugo Maeda  <shugo@r...>
 
 	* strftime.c (rb_strftime): return "UTC" instead of "GMT".
Index: common.mk
===================================================================
--- common.mk	(revision 18747)
+++ common.mk	(revision 18748)
@@ -413,7 +413,6 @@
 strchr.$(OBJEXT): {$(VPATH)}strchr.c
 strdup.$(OBJEXT): {$(VPATH)}strdup.c
 strerror.$(OBJEXT): {$(VPATH)}strerror.c
-strftime.$(OBJEXT): {$(VPATH)}strftime.c
 strstr.$(OBJEXT): {$(VPATH)}strstr.c
 strtod.$(OBJEXT): {$(VPATH)}strtod.c
 strtol.$(OBJEXT): {$(VPATH)}strtol.c
Index: strftime.c
===================================================================
--- strftime.c	(revision 18747)
+++ strftime.c	(revision 18748)
@@ -45,7 +45,7 @@
  * January 1996
  */
 
-#include "ruby/ruby.h"
+#include "ruby/config.h"
 
 #ifndef GAWK
 #include <stdio.h>

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]