From 3fa462ad4c88037b138aae6088c7ccee7b2c4663 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 1 Dec 1998 23:51:12 +0000 Subject: [PATCH] error_message.c: Use "#if defined(MSDOS) || ..." instead of "#if !defined(unix)", since not all Unix compilers define "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/ChangeLog | 6 ++++++ src/util/et/error_message.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 13358334f..cd7eec4b8 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +1998-12-01 Theodore Ts'o + + * error_message.c: Use "#if defined(MSDOS) || ..." instead of + "#if !defined(unix)", since not all Unix compilers define + "unix". + 1998-07-02 Theodore Ts'o * com_err.c (MacMessageBox): Change TextBox to TETextBox to match diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c index d18b36867..95223d7c3 100644 --- a/src/util/et/error_message.c +++ b/src/util/et/error_message.c @@ -41,7 +41,7 @@ extern const int sys_nerr; static char buffer[ET_EBUFSIZ]; -#if !defined(unix) && !defined(_AIX) +#if (defined(_MSDOS) || defined(_WIN32) || defined(macintosh)) static struct et_list * _et_list = (struct et_list *) NULL; #else /* Old interface compatibility */ -- 2.26.2