ruby-changes:37409
From: nobu <ko1@a...>
Date: Wed, 4 Feb 2015 15:55:52 +0900 (JST)
Subject: [ruby-changes:37409] nobu:r49490 (trunk): _sdbm.c: ruby/ruby.h for PRIdPTRDIFF
nobu 2015-02-04 15:55:41 +0900 (Wed, 04 Feb 2015) New Revision: 49490 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49490 Log: _sdbm.c: ruby/ruby.h for PRIdPTRDIFF * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a macro `DEBUG` is defined. based on the patch by Owen Rodley in [ruby-core:67987]. [Bug #10825] Modified files: trunk/ChangeLog trunk/ext/sdbm/_sdbm.c Index: ChangeLog =================================================================== --- ChangeLog (revision 49489) +++ ChangeLog (revision 49490) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Feb 4 15:55:38 2015 Nobuyoshi Nakada <nobu@r...> + + * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a + macro `DEBUG` is defined. based on the patch by Owen Rodley in + [ruby-core:67987]. [Bug #10825] + Wed Feb 4 11:12:43 2015 Nobuyoshi Nakada <nobu@r...> * Makefile.in (probes.stamp): rebuild dtrace dependent objects Index: ext/sdbm/_sdbm.c =================================================================== --- ext/sdbm/_sdbm.c (revision 49489) +++ ext/sdbm/_sdbm.c (revision 49490) @@ -7,8 +7,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/sdbm/_sdbm.c#L7 * core routines */ -#include "ruby/config.h" -#include "ruby/defines.h" +#include "ruby/ruby.h" #ifdef HAVE_UNISTD_H #include <unistd.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/