summaryrefslogtreecommitdiffstats
path: root/missing/vsnprintf.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-06 23:23:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-06 23:23:04 +0000
commit7e1363abf17ef73a4bcfef3b5eb5e98be5439acf (patch)
tree32ffc8f9c2a17a7aca94fde22cf459204a108f60 /missing/vsnprintf.c
parentb93482c8a14ab839319ca86d0fd0659d54660e00 (diff)
downloadruby-7e1363abf17ef73a4bcfef3b5eb5e98be5439acf.tar.gz
ruby-7e1363abf17ef73a4bcfef3b5eb5e98be5439acf.tar.xz
ruby-7e1363abf17ef73a4bcfef3b5eb5e98be5439acf.zip
* Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
extension libraries. * bignum.c (bignew_1, bigadd): K&R style argument actually can't be defined as char. * missing/vsnprintf.c: ANSI compiler supports const keyword. * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h but no 64bit integer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/vsnprintf.c')
-rw-r--r--missing/vsnprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c
index d7d9e0be4..6afdfa189 100644
--- a/missing/vsnprintf.c
+++ b/missing/vsnprintf.c
@@ -95,7 +95,7 @@
# endif
#endif
-#if defined(__hpux) && !defined(__GNUC__)
+#if defined(__hpux) && !defined(__GNUC__) && !defined(__STDC__)
#define const
#endif