Skip to content

Commit

Permalink
os/mac: Rename MachO -> MachOShim
Browse files Browse the repository at this point in the history
Prevents namespace conflict with vendored ruby-macho.
  • Loading branch information
woodruffw committed Nov 8, 2016
1 parent 79b124b commit 126c15d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/os/mac/mach.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "vendor/macho/macho"
require "os/mac/architecture_list"

module MachO
module MachOShim
# @private
def macho
@macho ||= begin
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/os/mac/pathname.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "os/mac/mach"

class Pathname
include MachO
include MachOShim
end

0 comments on commit 126c15d

Please sign in to comment.