mirror of https://github.com/adamdruppe/arsd.git
omg mac
This commit is contained in:
parent
7901578797
commit
7e6b3c3cbe
9
core.d
9
core.d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue