* siphash.h: check configure macros before include newer headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
36ca3781bd
commit
125ca30ca2
@ -1,6 +1,6 @@
|
|||||||
Sat Nov 10 00:19:09 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
Sat Nov 10 00:33:31 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* 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@ruby-lang.org>
|
Fri Nov 9 23:33:05 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
#ifndef SIPHASH_H
|
#ifndef SIPHASH_H
|
||||||
#define SIPHASH_H 1
|
#define SIPHASH_H 1
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user