mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-27 12:49:29 +00:00
Clean up MAIKO_HANDLE_CONSOLE_MESSAGES some. (#331)
* `LOGINT` is only useful when `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. * Only define some variables if `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. Flag them as static. * Remove setting `LOGINT` from the build system as it isn't needed because we aren't handling console messages.
This commit is contained in:
@@ -348,7 +348,7 @@ getmore:
|
||||
rs232c_read();
|
||||
#endif /* RS232 */
|
||||
|
||||
#ifdef LOGINT
|
||||
#if defined(MAIKO_HANDLE_CONSOLE_MESSAGES) && defined(LOGINT)
|
||||
if (LogFileFd >= 0 && FD_ISSET(LogFileFd, &rfds)) { /* There's info in the log file. Tell Lisp to print it. */
|
||||
flush_pty(); /* move the msg(s) to the log file */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user