* 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:
parent
7476940582
commit
657429b75b
@ -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.
|
||||
|
@ -16,8 +16,4 @@
|
||||
# define __END_DECLS
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INTTYPES_H)
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#endif /* DEFS_H */
|
||||
|
@ -58,6 +58,10 @@ extern "C" {
|
||||
# include <intrinsics.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user