summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog4
-rw-r--r--src/include/win-mac.h30
2 files changed, 19 insertions, 15 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index f630a4902..422de1cb5 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-24 Jeffrey Altman <jaltman@mit.edu>
+
+ * win-mac.h: support for 64-bit Windows builds
+
2006-01-25 Ken Raeburn <raeburn@mit.edu>
* k5-thread.h (krb5int_mutex_alloc, krb5int_mutex_free,
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index ea53cf17f..4249f0db5 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -25,21 +25,6 @@
#else /* ! RES_ONLY */
-#define SIZEOF_INT 4
-#define SIZEOF_SHORT 2
-#define SIZEOF_LONG 4
-
-#include <windows.h>
-#include <limits.h>
-
-#ifndef SIZE_MAX /* in case Microsoft defines max size of size_t */
-#ifdef MAX_SIZE /* Microsoft defines MAX_SIZE as max size of size_t */
-#define SIZE_MAX MAX_SIZE
-#else
-#define SIZE_MAX UINT_MAX
-#endif
-#endif
-
/* To ensure backward compatibility of the ABI use 32-bit time_t on
* 32-bit Windows.
*/
@@ -55,6 +40,21 @@
#endif
#endif
+#define SIZEOF_INT 4
+#define SIZEOF_SHORT 2
+#define SIZEOF_LONG 4
+
+#include <windows.h>
+#include <limits.h>
+
+#ifndef SIZE_MAX /* in case Microsoft defines max size of size_t */
+#ifdef MAX_SIZE /* Microsoft defines MAX_SIZE as max size of size_t */
+#define SIZE_MAX MAX_SIZE
+#else
+#define SIZE_MAX UINT_MAX
+#endif
+#endif
+
#ifndef KRB5_CALLCONV
# define KRB5_CALLCONV __stdcall
# define KRB5_CALLCONV_C __cdecl