Fix compilation on current clang++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4068
This commit is contained in:
parent
85b0c547ef
commit
542e068f97
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ CNullModem::CNullModem(Bitu id, CommandLine* cmd):CSerial (id, cmd) {
|
|||
setCTS(dtrrespect||transparent);
|
||||
setDSR(dtrrespect||transparent);
|
||||
setRI(false);
|
||||
setCD(clientsocket > 0); // CD on if connection established
|
||||
setCD(clientsocket != 0); // CD on if connection established
|
||||
}
|
||||
|
||||
CNullModem::~CNullModem() {
|
||||
|
|
Loading…
Add table
Reference in a new issue