From 1eac1cb21ebb095886393ee71acd0ed8f6dedab8 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 27 Nov 2012 05:59:34 +0000 Subject: reverting r37881 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/fiddle/extconf.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ext/fiddle/extconf.rb') diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index 9b9803f65b..a9cdcc251f 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -19,20 +19,6 @@ end have_header 'sys/mman.h' -if have_header "dlfcn.h" - have_library "dl" - - %w{ dlopen dlclose dlsym }.each do |func| - abort "missing function #{func}" unless have_func(func) - end - - have_func "dlerror" -elsif have_header "windows.h" - %w{ LoadLibrary FreeLibrary GetProcAddress }.each do |func| - abort "missing function #{func}" unless have_func(func) - end -end - config = File.read(RbConfig.expand(File.join($arch_hdrdir, "ruby/config.h"))) types = {"SIZE_T"=>"SSIZE_T", "PTRDIFF_T"=>nil, "INTPTR_T"=>nil} types.each do |type, signed| -- cgit v1.2.3