]> andersk Git - moira.git/blobdiff - update/log.c
Since pr_ChangeEntry() already checks to see if the id's aren't changing,
[moira.git] / update / log.c
index b62023dfab79859b7296c20fb54b0aa70f629d2d..8d95fcf9ada66e062347d6e0bab417ae1cebca0f 100644 (file)
@@ -24,7 +24,9 @@ static char *rcsid_log_c = "$Header$";
 #include <mit-copyright.h>
 #include <stdio.h>
 #include "com_err.h"
+#ifndef sun
 #include <varargs.h>
+#endif
 #include "update.h"
 #include <krb.h>
 
@@ -73,7 +75,7 @@ void mr_update_com_err_hook(whoami, code, fmt, args)
        while (*cp)
            cp++;
     }
-#if defined(AIX386) || defined(sun)
+#ifdef HAS_VSPRINTF
     vsprintf(cp, fmt, args);
 #else
     _strbuf._flag = _IOWRT+_IOSTRG;
This page took 0.070558 seconds and 4 git commands to generate.