diff --git a/src/hardware/serialport/nullmodem.cpp b/src/hardware/serialport/nullmodem.cpp index 668ebc4c..c2349249 100644 --- a/src/hardware/serialport/nullmodem.cpp +++ b/src/hardware/serialport/nullmodem.cpp @@ -138,11 +138,13 @@ CNullModem::CNullModem(Bitu id, CommandLine* cmd):CSerial (id, cmd) { } } } else { -#endif LOG_MSG("Serial%d: socket inheritance not supported on this platform.", COMNUMBER); return; } +#else + LOG_MSG("Serial%d: socket inheritance not available.", COMNUMBER); +#endif } std::string tmpstring; if(cmd->FindStringBegin("server:",tmpstring,false)) {