summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-12-01 23:51:12 +0000
committerTheodore Tso <tytso@mit.edu>1998-12-01 23:51:12 +0000
commit3fa462ad4c88037b138aae6088c7ccee7b2c4663 (patch)
treee758df6e76197037c0c9c2ee792494c11647ef4d /src
parent63ba75c5ce159af40b2548aa1e9f48926792998d (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/util/et/ChangeLog6
-rw-r--r--src/util/et/error_message.c2
2 files changed, 7 insertions, 1 deletions
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 <tytso@rsts-11.mit.edu>
+
+ * 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 <tytso@rsts-11.mit.edu>
* 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 */