Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.544 kb
require 'rbconfig'
if defined? RUBY_PLATFORM and
%w(-win32 win32- mswin mingw32).any? { |s| RUBY_PLATFORM.include? s } then
ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}"
end
if File.exist? "#{File.dirname(__FILE__)}/gosu.#{RbConfig::CONFIG['DLEXT']}"
require "gosu.#{RbConfig::CONFIG['DLEXT']}"
elsif defined? RUBY_VERSION and RUBY_VERSION >= '1.9' then
require "gosu.for_1_9.#{RbConfig::CONFIG['DLEXT']}"
else
require "gosu.for_1_8.#{RbConfig::CONFIG['DLEXT']}"
end
require "gosu/swig_patches"
require "gosu/patches"
Jump to Line
Something went wrong with that request. Please try again.