Skip to content

Commit

Permalink
xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY)
Browse files Browse the repository at this point in the history
  • Loading branch information
paroga authored and veillard committed May 10, 2012
1 parent a4fe9b2 commit 023206f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xmllint.c
Expand Up @@ -520,10 +520,11 @@ endTimer(char *format, ...)
* We cannot do anything because we don't have a timing function
*/
#ifdef HAVE_STDARG_H
va_list ap;
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);
fprintf(stderr, " was not timed\n", msec);
fprintf(stderr, " was not timed\n");
#else
/* We don't have gettimeofday, time or stdarg.h, what crazy world is
* this ?!
Expand Down

0 comments on commit 023206f

Please sign in to comment.