Skip to content

Commit

Permalink
omg mac
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Oct 24, 2024
1 parent 7901578 commit 7e6b3c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core.d
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,15 @@ version(OSXCocoa)
else
enum CocoaAvailable = false;

version(D_OpenD) {
version(OSXCocoa)
pragma(linkerDirective, "-framework", "Cocoa");
} else {
version(OSXCocoa)
version(LDC)
pragma(linkerDirective, "-framework", "Cocoa");
}

version(Posix) {
import core.sys.posix.signal;
import core.sys.posix.unistd;
Expand Down

0 comments on commit 7e6b3c3

Please sign in to comment.