diff options
Diffstat (limited to 'ext/digest')
-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 |