summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int.h
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-09-28 08:22:34 +0000
committerKeith Vetter <keithv@fusion.com>1995-09-28 08:22:34 +0000
commitf11458f54ce37f436b1deedf68d683466afa33cc (patch)
treeca773f55e656e920a32f8934b400da1ed5cbe8a7 /src/include/k5-int.h
parent9f3d80f60e0ede10438f160a1e0973b11b49a849 (diff)
downloadkrb5-f11458f54ce37f436b1deedf68d683466afa33cc.tar.gz
krb5-f11458f54ce37f436b1deedf68d683466afa33cc.tar.xz
krb5-f11458f54ce37f436b1deedf68d683466afa33cc.zip
Working telnet authentication module and project consolidations
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6878 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r--src/include/k5-int.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index cb70dec60c..314f618f3f 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -177,8 +177,28 @@ int sscanf(const char *str, char const *fmt0, ...);
#else /* Rest of include file is for non-Microloss-Windows */
+#ifndef _MACINTOSH
+#if defined(__MWERKS__) || defined(applec) || defined(THINK_C)
+#define _MACINTOSH
+#define SIZEOF_INT 4
+#define SIZEOF_SHORT 2
+#define HAVE_SRAND
+#define NO_PASSWORD
+#define HAS_LABS
+#define ENOMEM -1
+#define ANSI_STDIO
+#ifndef _SIZET
+typedef unsigned int size_t;
+#define _SIZET
+#endif
+#include <unix.h>
+#include <ctype.h>
+#endif
+#endif
+
#if defined(_MACINTOSH)
+
#ifdef NEED_LOWLEVEL_IO
#include <fcntl.h>
#endif
@@ -191,7 +211,7 @@ typedef short nlink_t;
typedef unsigned long uid_t;
typedef unsigned long gid_t;
typedef long off_t;
-#ifndef _MWERKS
+#ifndef __MWERKS__
struct stat
{
mode_t st_mode; /* File mode; see #define's below */