Skip to content

Commit

Permalink
Remove predefined version identifier ELFv1 when targeting OS X
Browse files Browse the repository at this point in the history
OS X uses the Mach-O binary format, not ELF.
  • Loading branch information
jacob-carlborg committed Sep 19, 2015
1 parent 34a972c commit 910ebd4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mars.d
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ extern (C++) int tryMain(size_t argc, const(char)** argv)
{
VersionCondition.addPredefinedGlobalIdent("Posix");
VersionCondition.addPredefinedGlobalIdent("OSX");
VersionCondition.addPredefinedGlobalIdent("ELFv1");
global.params.isOSX = true;
// For legacy compatibility
VersionCondition.addPredefinedGlobalIdent("darwin");
Expand Down

0 comments on commit 910ebd4

Please sign in to comment.