Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
* siphash.h: check configure macros before include newer headers.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Nov 9, 2012
1 parent 36ca378 commit 125ca30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
@@ -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>

Expand Down
2 changes: 2 additions & 0 deletions siphash.h
@@ -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
Expand Down

0 comments on commit 125ca30

Please sign in to comment.