ruby-changes:25542
From: usa <ko1@a...>
Date: Sat, 10 Nov 2012 00:34:42 +0900 (JST)
Subject: [ruby-changes:25542] usa:r37599 (trunk): * siphash.h: check configure macros before include newer headers.
usa 2012-11-10 00:34:31 +0900 (Sat, 10 Nov 2012) New Revision: 37599 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37599 Log: * siphash.h: check configure macros before include newer headers. Modified files: trunk/ChangeLog trunk/siphash.h Index: ChangeLog =================================================================== --- ChangeLog (revision 37598) +++ ChangeLog (revision 37599) @@ -1,6 +1,6 @@ -Sat Nov 10 00:19:09 2012 NAKAMURA Usaku <usa@r...> +Sat Nov 10 00:33:31 2012 NAKAMURA Usaku <usa@r...> - * siphash.h: include inttypes.h only when HAVE_INTTYPES_H is defined. + * siphash.h: check configure macros before include newer headers. Fri Nov 9 23:33:05 2012 Nobuyoshi Nakada <nobu@r...> Index: siphash.h =================================================================== --- siphash.h (revision 37598) +++ siphash.h (revision 37599) @@ -1,7 +1,9 @@ #ifndef SIPHASH_H #define SIPHASH_H 1 #include <stdlib.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/