summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/krb5/stock/ChangeLog5
-rw-r--r--src/include/krb5/stock/config.h6
-rw-r--r--src/include/krb5/stock/config.win54
3 files changed, 65 insertions, 0 deletions
diff --git a/src/include/krb5/stock/ChangeLog b/src/include/krb5/stock/ChangeLog
index 870eba6dd..09c718247 100644
--- a/src/include/krb5/stock/ChangeLog
+++ b/src/include/krb5/stock/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 6 20:5:58 1995 Keith Vetter (keithv@fusion.com)
+
+ * config.win: new file--windows base template for config.h
+ * config.h: added API definition default of NULL
+
Thu Jan 5 17:01:03 1995 Theodore Y. Ts'o (tytso@dcl)
* Use the service names kerberos and kerberos-sec, instead of
diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h
index 074106cf7..03ff5f9e2 100644
--- a/src/include/krb5/stock/config.h
+++ b/src/include/krb5/stock/config.h
@@ -76,6 +76,12 @@
*/
#undef KRBCONF_KDC_MODIFIES_KDB
+/*
+ * Windows requires a different api interface to each function. Here
+ * just define it as NULL.
+ */
+#define API
+#define FAR
#endif /* KRB5_CONFIG__ */
diff --git a/src/include/krb5/stock/config.win b/src/include/krb5/stock/config.win
new file mode 100644
index 000000000..9ce614b93
--- /dev/null
+++ b/src/include/krb5/stock/config.win
@@ -0,0 +1,54 @@
+/*
+ * include/stock/config.win
+ *
+ * Copyright 1988, 1994 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ *
+ * Machine-type definitions: IBM PC 80386 running WINDOWS
+ */
+
+#ifndef KRB5_CONFIG__
+#define KRB5_CONFIG__
+
+#define KRB5_DBM_COMPAT__ /* Don't load dbm.h */
+#define KRB5_KDB5__ /* Don't load kdb.h */
+#define KRB5_KDB5_DBM__ /* Don't load kdb_dbm.h */
+
+#define BITS16
+
+#define USE_STRING_H
+#define HAVE_SRAND
+
+#ifndef _SIZE_T_DEFINED
+typedef unsigned int size_t;
+#define _SIZE_T_DEFINED
+#endif
+
+#ifndef _U_TYPES_DEFINED
+typedef unsigned long u_long;
+typedef unsigned char u_char;
+#define _U_LONG_DEFINED
+#endif
+
+#ifndef API
+#define API __far __export __pascal
+#endif
+#define FAR __far
+
+#endif /* KRB5_CONFIG__ */