]> andersk Git - moira.git/commitdiff
use HAS_VSPRINTF from config.Imakefile instead of #ifdef'ing
authordanw <danw>
Wed, 29 Jan 1997 23:01:15 +0000 (23:01 +0000)
committerdanw <danw>
Wed, 29 Jan 1997 23:01:15 +0000 (23:01 +0000)
on architectures

clients/mailmaint/mailmaint.c

index cf946735c10cbae90a333a6395f9fde7e5bd6930..456934f6c1c576eb61c26774a3ddcc9f73761e1c 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifndef lint
 static char rcsid_mailmaint_c[] = "$Header$";
-#endif lint
+#endif
 
 /***********************************************************************/
 /*  mailmaint.c - pjlevine - 20 August 1987 
@@ -22,7 +22,11 @@ static char rcsid_mailmaint_c[] = "$Header$";
 #include <string.h>
 #include <curses.h>
 #include <sys/types.h>
+#ifdef __STDC__
+#include <stdarg.h>
+#else
 #include <varargs.h>
+#endif
 #include <com_err.h>
 #include <ctype.h>
 #include <moira.h>
@@ -975,7 +979,7 @@ menu_err_hook(who, code, fmt, args)
        while (*cp)
            cp++;
     }
-#if defined(AIX386) || defined(sun)
+#ifdef HAS_VSPRINTF
     vsprintf(cp, fmt, args);
 #else
     /* can do this because we never pass more than 1 arg here anyway... */
This page took 0.036695 seconds and 5 git commands to generate.