Added magic incantations for Macintosh CFM-68K
authorMiro Jurisic <meeroh@mit.edu>
Tue, 14 Jul 1998 15:13:15 +0000 (15:13 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Tue, 14 Jul 1998 15:13:15 +0000 (15:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970

src/include/win-mac.h

index cad5dab84f29f50aadeaa322d80d975f61d4dee2..588384d36132cf53bfa0d37760a707daf3400a3b 100644 (file)
@@ -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 */