summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-07-14 15:12:49 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-07-14 15:12:49 +0000
commit9b0a62031ff4b2466bf62fc24353be40ac579085 (patch)
tree8f62e3199c953a18805f22f8eb3d3121d20063aa /src/util
parent8ea93aa530d9b07ae9180cb9363f518a3cccb829 (diff)
downloadkrb5-9b0a62031ff4b2466bf62fc24353be40ac579085.tar.gz
krb5-9b0a62031ff4b2466bf62fc24353be40ac579085.tar.xz
krb5-9b0a62031ff4b2466bf62fc24353be40ac579085.zip
Added magic incantations for Macontosh CFM-68K
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/et/com_err.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h
index 70d987ecf1..636e57cddf 100644
--- a/src/util/et/com_err.h
+++ b/src/util/et/com_err.h
@@ -20,8 +20,15 @@
#define unix
#endif
-#if defined(_MSDOS) || defined (_WIN32)
+#if defined(__MWERKS__) || defined(applec) || defined(THINK_C)
+#define _MACINTOSH
+#endif
+
+#if defined(_MSDOS) || defined(_WIN32) || defined(_MACINTOSH)
#include <win-mac.h>
+#if defined(_MACINTOSH) && defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
+#pragma import on
+#endif
#endif
#ifndef KRB5_CALLCONV
@@ -101,5 +108,9 @@ extern et_old_error_hook_func reset_com_err_hook
}
#endif
+#if defined(_MACINTOSH) && defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
+#pragma import reset
+#endif
+
#define __COM_ERR_H
#endif /* ! defined(__COM_ERR_H) */