brew/Library/Homebrew/os/linux.rb
Mike McQuaid 170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00

27 lines
444 B
Ruby

module OS
# Define OS::Mac on Linux for formula API compatibility.
module Mac
module_function
::MacOS = self # rubocop:disable Naming/ConstantName
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
def version
Version::NULL
end
def full_version
Version::NULL
end
module Xcode
module_function
def version
Version::NULL
end
end
end
end