mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
ffserver: put gcc attribute under proper ifdef
This commit is contained in:
parent
2762a7a28b
commit
efa6ce9982
@ -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)))
|
||||
#endif
|
||||
static void http_log(const char *fmt, ...)
|
||||
{
|
||||
va_list vargs;
|
||||
va_start(vargs, fmt);
|
||||
|
Loading…
Reference in New Issue
Block a user