From 332ac0e7d27d1ad520469c61199987a96e6cef68 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Tue, 14 Jul 1998 15:13:15 +0000 Subject: [PATCH] Added magic incantations for Macintosh CFM-68K git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/win-mac.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/include/win-mac.h b/src/include/win-mac.h index cad5dab84..588384d36 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 */ -- 2.26.2