+Tue Jun 13 14:37:25 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
+
+ * logger.c: Don't check to make sure unix is defined for
+ DEVICE_OPEN et al. Currently, there are no special cases where
+ special handling is required; if they are, then they should be
+ checked for, and the generic case taken if no special case fits.
+ The previous behavior broke under AIX.
+
+
Sun Jun 11 09:24:06 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (clean-unix): Remove $(UNIX_OBJS)
* These macros define any special processing that needs to happen for
* devices. For unix, of course, this is hardly anything.
*/
-#if defined(unix) || defined(__unix__)
#define DEVICE_OPEN(d, m) fopen(d, m)
#define CONSOLE_OPEN(m) fopen("/dev/console", m)
#define DEVICE_PRINT(f, m) ((fprintf(f, m) >= 0) ? \
(fprintf(f, "\r\n"), fflush(f), 0) : \
-1)
#define DEVICE_CLOSE(d) fclose(d)
-#endif /* unix */
+
\f
/*
* klog_com_err_proc() - Handle com_err(3) messages as specified by the