diff options
author | Keith Vetter <keithv@fusion.com> | 1995-03-17 01:35:41 +0000 |
---|---|---|
committer | Keith Vetter <keithv@fusion.com> | 1995-03-17 01:35:41 +0000 |
commit | 8972324fb6970231fb20731d7d2860fc3eea7c5a (patch) | |
tree | 0c4aafb6a034e1d76a88bd2386d8152dc39d0dc3 /src | |
parent | 84db7f03d1d700792dc5aed3df3384ee3e7e86a8 (diff) | |
download | krb5-8972324fb6970231fb20731d7d2860fc3eea7c5a.tar.gz krb5-8972324fb6970231fb20731d7d2860fc3eea7c5a.tar.xz krb5-8972324fb6970231fb20731d7d2860fc3eea7c5a.zip |
Problem with the error routines and windows definitions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5137 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/util/et/ChangeLog | 6 | ||||
-rw-r--r-- | src/util/et/com_err.h | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 7b487c4f27..7815a0ef25 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 16 17:30:00 1995 Keith Vetter (keithv@fusion.com) + + * com_err.h: problem with this file needing k5-config for windows + stuff but many application programs don't include it. So for + now I've put the windows stuff that is needed directly into it. + Wed Mar 15 23:02:14 1995 Keith Vetter (keithv@fusion.com) * com_err.c: made to work on the PC. Biggest changes was that diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h index f61822aed7..0ff858034a 100644 --- a/src/util/et/com_err.h +++ b/src/util/et/com_err.h @@ -23,6 +23,20 @@ #include <varargs.h> #endif +/* This should be part of k5-config.h but many application + * programs are not including that file. We probably want to + * come up with a better way of handling this problem. + */ +#ifndef INTERFACE +#ifdef _WINDOWS +#define INTERFACE __far __export __pascal +#define INTERFACE_C __far __export __cdecl +#else +#define INTERFACE +#define INTERFACE_C +#endif +#endif + #ifdef __STDC__ /* ANSI C -- use prototypes etc */ extern void INTERFACE_C com_err (const char *, long, const char *, ...); |