diff options
author | Mans Rullgard <mans@mansr.com> | 2010-10-16 20:56:32 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-24 22:09:37 +0000 |
commit | efa6ce9982ffde33b7303498ff28fcf39ff68b8d (patch) | |
tree | 17613394f2cf1e5554e28eb5ef61cec71f670f19 /ffserver.c | |
parent | 2762a7a28b261a505a9002b92d4f7c04eeaacc1b (diff) | |
download | ffmpeg-efa6ce9982ffde33b7303498ff28fcf39ff68b8d.tar.gz |
ffserver: put gcc attribute under proper ifdef
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 94a239ca5d..9a3240808b 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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); |