summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
diff options
context:
space:
mode:
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 */