Sha256: 6d43af18660b464eb5e308329f2404f4036503d9400fb7b0400d89c72658276a
Contents?: true
Size: 562 Bytes
Versions: 14
Compression:
Stored size: 562 Bytes
Contents
require 'rbconfig' require 'mkmf' if Config::CONFIG['host_os'] =~ /darwin/ then $CFLAGS += " -DUSE_INSTANT_OSX=1 -Wall" $LDFLAGS += " -framework CoreServices" elsif Config::CONFIG['host_os'] =~ /win32/ or Config::CONFIG['host_os'] =~ /mingw/ then $CFLAGS += " -DUSE_INSTANT_WINDOWS=1" else if have_library("rt", "clock_gettime") then $CFLAGS += " -DUSE_INSTANT_CLOCK_GETTIME=1" end end # put in a different location if on windows so we can have fat binaries subdir = RUBY_VERSION.gsub(/\.\d$/,'') create_makefile("hitimes/#{subdir}/hitimes_ext")
Version data entries
14 entries across 14 versions & 1 rubygems