diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | siphash.h | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Nov 10 00:19:09 2012 NAKAMURA Usaku <usa@ruby-lang.org> + + * siphash.h: include inttypes.h only when HAVE_INTTYPES_H is defined. + Fri Nov 9 23:33:05 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/erb.rb (ERB#run, ERB#result): eval under isolated bindings for @@ -2,7 +2,9 @@ #define SIPHASH_H 1 #include <stdlib.h> #include <stdint.h> +#ifdef HAVE_INTTYPES_H #include <inttypes.h> +#endif #ifndef HAVE_UINT64_T typedef struct { |