extconf.rb
来自「ruby的源代码」· RB 代码 · 共 29 行
RB
29 行
# $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $# $Id: extconf.rb,v 1.6.2.2 2001/08/20 10:56:03 eban Exp $require "mkmf"$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."$objs = [ "sha2.#{$OBJEXT}", "sha2hl.#{$OBJEXT}", "sha2init.#{$OBJEXT}",]have_header("sys/cdefs.h")have_header("inttypes.h")have_header("unistd.h")if try_cpp(<<SRC, $defs.join(' '))#include "defs.h"#ifdef NO_UINT64_T #error ** Cannot find a 64bit integer type - skipping the SHA2 module.#endifSRCthen create_makefile("digest/sha2")end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?