summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-07-14 15:13:15 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-07-14 15:13:15 +0000
commit332ac0e7d27d1ad520469c61199987a96e6cef68 (patch)
treec16e9fa67c84d3db25a64e0eb1bce3d767c357db /src/include/win-mac.h
parent9b0a62031ff4b2466bf62fc24353be40ac579085 (diff)
downloadkrb5-332ac0e7d27d1ad520469c61199987a96e6cef68.tar.gz
krb5-332ac0e7d27d1ad520469c61199987a96e6cef68.tar.xz
krb5-332ac0e7d27d1ad520469c61199987a96e6cef68.zip
Added magic incantations for Macintosh CFM-68K
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/win-mac.h')
-rw-r--r--src/include/win-mac.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index cad5dab84f..588384d361 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -216,11 +216,11 @@ HINSTANCE get_lib_instance(void);
#endif /* _MSDOS || _WIN32 */
-#ifndef KRB5_CALLCONV
+#ifdef _MACINTOSH
+
#define KRB5_CALLCONV
#define KRB5_CALLCONV_C
#define KRB5_DLLIMP
-#endif
#ifndef FAR
#define FAR
#endif
@@ -228,7 +228,6 @@ HINSTANCE get_lib_instance(void);
#define NEAR
#endif
-#ifdef _MACINTOSH
#define SIZEOF_INT 4
#define SIZEOF_SHORT 2
#define HAVE_SRAND
@@ -295,4 +294,16 @@ int fstat(int fildes, struct stat *buf);
#define THREEPARAMOPEN(x,y,z) open(x,y,z)
#endif /* _MACINTOSH */
+#ifndef KRB5_CALLCONV
+#define KRB5_CALLCONV
+#define KRB5_CALLCONV_C
+#define KRB5_DLLIMP
+#endif
+#ifndef FAR
+#define FAR
+#endif
+#ifndef NEAR
+#define NEAR
+#endif
+
#endif /* _KRB5_WIN_MAC_H */