summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-03-27 22:53:15 +0000
committerKen Raeburn <raeburn@mit.edu>2006-03-27 22:53:15 +0000
commit42d691f905fbeb443449f793f6dd0cf6609b5126 (patch)
tree54b65c41d500785e26a4bd3748ac665a4c5d5228 /src/include
parent2ae7ca7da7ed0a332e79e689980cb13642327dc1 (diff)
downloadkrb5-42d691f905fbeb443449f793f6dd0cf6609b5126.tar.gz
krb5-42d691f905fbeb443449f793f6dd0cf6609b5126.tar.xz
krb5-42d691f905fbeb443449f793f6dd0cf6609b5126.zip
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17786 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-err.h39
1 files changed, 38 insertions, 1 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h
index a10063d16..4852409c2 100644
--- a/src/include/k5-err.h
+++ b/src/include/k5-err.h
@@ -1,5 +1,42 @@
+/*
+ * include/k5-err.h
+ *
+ * Copyright 2006 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. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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.
+ *
+ *
+ * Error-message handling
+ */
+
#define _(X) (X)
-#include "win-mac.h"
+
+#if defined(_MSDOS) || defined(_WIN32)
+#include <win-mac.h>
+#endif
+#ifndef KRB5_CALLCONV
+#define KRB5_CALLCONV
+#define KRB5_CALLCONV_C
+#endif
+
struct errinfo {
long code;
const char *msg;