diff options
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 *, ...); |