aboutsummaryrefslogtreecommitdiff
path: root/src/mac/MacOSX/Headers/Kerberos5Prefix.h
diff options
context:
space:
mode:
authorno author <devnull@mit.edu>2003-04-09 00:10:14 +0000
committerno author <devnull@mit.edu>2003-04-09 00:10:14 +0000
commit9dc0f646d42648fbbde44799c00b25d97d9cbc98 (patch)
treed7e1bad8215f92673f94df55881b676002da7e8b /src/mac/MacOSX/Headers/Kerberos5Prefix.h
parent38037332d7af42124646c268874e0833bd8ec30e (diff)
downloadkrb5-9dc0f646d42648fbbde44799c00b25d97d9cbc98.zip
krb5-9dc0f646d42648fbbde44799c00b25d97d9cbc98.tar.gz
krb5-9dc0f646d42648fbbde44799c00b25d97d9cbc98.tar.bz2
This commit was manufactured by cvs2svn to create tagkrb5-1.2.8-final
'krb5-1-2-8-final'. git-svn-id: svn://anonsvn.mit.edu/krb5/tags/krb5-1-2-8-final@15331 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/MacOSX/Headers/Kerberos5Prefix.h')
-rw-r--r--src/mac/MacOSX/Headers/Kerberos5Prefix.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/mac/MacOSX/Headers/Kerberos5Prefix.h b/src/mac/MacOSX/Headers/Kerberos5Prefix.h
new file mode 100644
index 0000000..5d7618f
--- /dev/null
+++ b/src/mac/MacOSX/Headers/Kerberos5Prefix.h
@@ -0,0 +1,87 @@
+#ifndef __ASSEMBLER__
+#include <TargetConditionals.h>
+
+/* Macros for crypto types so they don't conflict with KerberosDES */
+#define make_key_sched mit_make_key_sched
+#define des_FP_table mit_des_FP_table
+#define des_IP_table mit_des_IP_table
+#define des_SP_table mit_des_SP_table
+
+#define SIZEOF_LONG 4
+#define SIZEOF_INT 4
+#define SIZEOF_SHORT 2
+
+/* define while building krb5 libraries */
+#define KRB5_PRIVATE 1
+#define KRB524_PRIVATE 1
+
+#define KRB5_DLLIMP
+#define GSS_DLLIMP
+#define KRB5_CALLCONV
+#define KRB5_CALLCONV_C
+#define FAR
+
+#define krb5_sigtype void
+
+/* Note: code only checks #ifdef <foo> */
+#define USE_CCAPI 1
+#define USE_LOGIN_LIBRARY 1
+#define NO_PASSWORD 1
+#define KRB5_KRB4_COMPAT 1
+#define KINIT_DEFAULT_BOTH 1
+
+#define HAVE_SRAND 1
+#define HAVE_LABS 1
+
+#define HAVE_NETINET_IN_H 1
+#define HAVE_ARPA_INET_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_PARAM_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STDARG_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_PATHS_H 1
+#define HAVE_REGEX_H 1
+#define HAVE_REGEXP_H 1
+#define HAVE_FCNTL_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_PWD_H 1
+
+#define HAVE_PTHREADS 1
+
+#define HAVE_STAT 1
+#define HAVE_LSTAT 1
+#define HAVE_ACCESS 1
+#define HAVE_FLOCK 1
+
+#define HAVE_FCHMOD 1
+#define HAVE_CHMOD 1
+
+#define HAVE_STRFTIME 1
+#define HAVE_GETEUID 1
+
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV 1
+#define HAVE_GETENV 1
+
+#define HAVE_GETUSERSHELL 1
+
+#define HAVE_SETSID 1
+#define HAVE_GETHOSTBYNAME2 1
+
+#define HAVE_VFPRINTF 1
+#define HAVE_VSPRINTF 1
+
+#define HAVE_STRDUP 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRERROR 1
+#define HAVE_MEMMOVE 1
+#define HAVE_DAEMON 1
+#define HAVE_GETUID 1
+#define HAVE_SSCANF 1
+#define HAVE_SYSLOG 1
+#define HAVE_REGEXEC 1
+#define HAVE_REGCOMP 1
+#define HAVE_SA_LEN 1
+#endif