summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/ChangeLog3
-rw-r--r--src/include/win-mac.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 5234b351dc..6bd882e3be 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,4 +1,7 @@
1997-07-26 Miro Jurisic <meeroh@mit.edu>
+ * win-mac.h (size_t): Fixed size_t redefinition on MacOS
+
+1997-07-26 Miro Jurisic <meeroh@mit.edu>
* k5-int.h (krb5_get_profile): added krb5_get_profile. It returns
a profile handle you can use with the profile layer. It is guaranteed
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index f5f93c9b45..d39e08b25e 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -241,11 +241,6 @@ HINSTANCE get_lib_instance(void);
#define NO_PASSWORD
#define HAVE_LABS
/*#define ENOMEM 12*/
-#define ANSI_STDIO
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
#include <unix.h>
#include <ctype.h>
@@ -260,6 +255,7 @@ typedef unsigned long size_t;
/* there is no <stat.h> for mpw */
#ifndef __MWERKS__
+typedef unsigned long size_t;
typedef unsigned long mode_t;
typedef unsigned long ino_t;
typedef unsigned long dev_t;