summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1999-07-26 16:41:43 +0000
committerMiro Jurisic <meeroh@mit.edu>1999-07-26 16:41:43 +0000
commitf34a94b079866798979721d1f7a9c71d228c9f2b (patch)
tree4a36583e82312560ab81b0133ae145405ac1e1be
parent3bd822a4af4bdfc2733a42bb5234d6932236bc31 (diff)
downloadkrb5-f34a94b079866798979721d1f7a9c71d228c9f2b.tar.gz
krb5-f34a94b079866798979721d1f7a9c71d228c9f2b.tar.xz
krb5-f34a94b079866798979721d1f7a9c71d228c9f2b.zip
Fixed size_t redefinition on MacOS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11602 dc483132-0cff-0310-8789-dd5450dbe970
-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;