Commit efa6ce99 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

ffserver: put gcc attribute under proper ifdef

parent 2762a7a2
......@@ -384,7 +384,10 @@ static void http_vlog(const char *fmt, va_list vargs)
static void __attribute__ ((format (printf, 1, 2))) http_log(const char *fmt, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 1, 2)))
static void http_log(const char *fmt, ...)
va_list vargs;
va_start(vargs, fmt);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment