Top Level Namespace

Defined Under Namespace

Modules: MiniRacer

Constant Summary collapse

IS_DARWIN =
RUBY_PLATFORM =~ /darwin/
MAC_OS_VERSION =
begin
  if IS_DARWIN
    # note, RUBY_PLATFORM is hardcoded on compile, it can not be trusted
    # sw_vers can be trusted so use it
    `sw_vers -productVersion`.to_f rescue 0.0
  else
    0.0
  end
end
CXX11_TEST =
<<EOS
#if __cplusplus <= 199711L
#   error A compiler that supports at least C++11 is required in order to compile this project.
#endif
EOS