* include/ruby/ruby.h (inttypes.h): includes always if available.

* string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-03-14 08:04:45 +00:00
parent 7476940582
commit 657429b75b
4 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,9 @@
Fri Mar 14 17:04:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (inttypes.h): includes always if available.
* string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.
Fri Mar 14 16:59:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_LIB_PREFIX): fix for prefix.

View File

@ -16,8 +16,4 @@
# define __END_DECLS
#endif
#if defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#endif
#endif /* DEFS_H */

View File

@ -58,6 +58,10 @@ extern "C" {
# include <intrinsics.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#include <stddef.h>
#include <stdio.h>

View File

@ -25,10 +25,6 @@
#include <unistd.h>
#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
VALUE rb_cString;
VALUE rb_cSymbol;