diff options
author | Ted Lemon <source@isc.org> | 1999-07-13 18:00:22 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-07-13 18:00:22 +0000 |
commit | 3175ee907c1cd4d3fa9848fb59ca8195c82dc332 (patch) | |
tree | eae4bdbfaf473592d1f0915370ccff666e5f0e38 /includes/cf | |
parent | 6057415f792ff766dc439ea6bf0140f395fc69b7 (diff) | |
download | isc-dhcp-3175ee907c1cd4d3fa9848fb59ca8195c82dc332.tar.gz |
Changes to make builds work on HP-UX with ANSI compiler.
Diffstat (limited to 'includes/cf')
-rw-r--r-- | includes/cf/hpux.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/cf/hpux.h b/includes/cf/hpux.h index e4820fd4..f7cdaffb 100644 --- a/includes/cf/hpux.h +++ b/includes/cf/hpux.h @@ -52,9 +52,17 @@ extern int h_errno; #define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid" #endif +#if !defined (__ANSI__) +/* Varargs stuff: use stdarg.h instead ... */ +#include <stdarg.h> +#define VA_DOTDOTDOT ... +#define VA_start(list, last) va_start (list, last) +#define va_dcl +#else #include <varargs.h> #define VA_DOTDOTDOT va_alist #define VA_start(list, last) va_start (list) +#endif #define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list) #define NO_SNPRINTF |