diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-06 23:23:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-06 23:23:04 +0000 |
commit | f6892cba239b44f37171b3cbf1296943b767d090 (patch) | |
tree | f59233349e52feef0a1c0e80cd9d1cc95ef223da /ext/digest/sha2 | |
parent | d302364b50c54c1a425abe7313bb032769618fb6 (diff) | |
download | ruby-f6892cba239b44f37171b3cbf1296943b767d090.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha2')
-rw-r--r-- | ext/digest/sha2/extconf.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb index fbc5d6c249..894228deca 100644 --- a/ext/digest/sha2/extconf.rb +++ b/ext/digest/sha2/extconf.rb @@ -19,12 +19,6 @@ have_header("unistd.h") $preload = %w[digest] -if try_cpp(<<SRC, $defs.join(' ')) -#include "defs.h" -#ifdef NO_UINT64_T - #error ** Cannot find a 64bit integer type - skipping the SHA2 module. -#endif -SRC -then +if have_type("uint64_t", "defs.h", $defs.join(' ')) create_makefile("digest/sha2") end |