Path: | lib/ffi/platform.rb |
Last Update: | Mon Feb 22 14:39:27 +0000 2010 |
NAME | = | "#{ARCH}-#{OS}" |
IS_LINUX | = | is_os("linux") |
IS_MAC | = | is_os("darwin") |
IS_FREEBSD | = | is_os("freebsd") |
IS_OPENBSD | = | is_os("openbsd") |
IS_WINDOWS | = | is_os("windows") |
IS_BSD | = | IS_MAC || IS_FREEBSD || IS_OPENBSD |
CONF_DIR | = | File.dirname(__FILE__) |
LIBC | = | if IS_WINDOWS |