This commit is contained in:
Adam D. Ruppe 2024-10-24 18:44:46 -04:00
parent 7901578797
commit 7e6b3c3cbe
1 changed files with 9 additions and 0 deletions

9
core.d
View File

@ -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;