diff --git a/dbm/tests/lots.c b/dbm/tests/lots.c index 163d36217aec..2070acc95c2d 100644 --- a/dbm/tests/lots.c +++ b/dbm/tests/lots.c @@ -37,14 +37,10 @@ * int32 in the data. */ -#include - -#if defined(XP_UNIX) && defined(STDC_HEADERS) -#define STDARG -#endif +#include #include -#ifdef STDARG +#ifdef STDC_HEADERS #include #else #include @@ -68,7 +64,7 @@ int MsgPriority=5; #endif /* Hmm, everyone seems to be defining this. */ -#define STDARG +#define STDC_HEADERS typedef enum { USE_LARGE_KEY, @@ -88,7 +84,7 @@ ReportStatus(char *string, ...) { va_list args; -#ifdef STDARG +#ifdef STDC_HEADERS va_start(args, string); #else va_start(args); @@ -106,7 +102,7 @@ ReportError(char *string, ...) { va_list args; -#ifdef STDARG +#ifdef STDC_HEADERS va_start(args, string); #else va_start(args);