mirror of https://github.com/buggins/dlangide.git
fix build error with close()
This commit is contained in:
parent
312662f828
commit
c05e1f3ee1
|
@ -948,7 +948,7 @@ class TerminalDevice : Thread {
|
||||||
import core.sys.posix.fcntl;
|
import core.sys.posix.fcntl;
|
||||||
import core.sys.posix.stdio;
|
import core.sys.posix.stdio;
|
||||||
import core.sys.posix.stdlib;
|
import core.sys.posix.stdlib;
|
||||||
import core.sys.posix.unistd;
|
//import core.sys.posix.unistd;
|
||||||
masterfd = posix_openpt(O_RDWR | O_NOCTTY);
|
masterfd = posix_openpt(O_RDWR | O_NOCTTY);
|
||||||
if (masterfd == -1) {
|
if (masterfd == -1) {
|
||||||
Log.e("posix_openpt failed - cannot open terminal");
|
Log.e("posix_openpt failed - cannot open terminal");
|
||||||
|
|
Loading…
Reference in New Issue