OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2762a7a
)
ffserver: put gcc attribute under proper ifdef
author
Mans Rullgard
<mans@mansr.com>
Sat, 16 Oct 2010 19:56:32 +0000
(20:56 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Mon, 24 Jan 2011 22:09:37 +0000
(22:09 +0000)
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
94a239c
..
9a32408
100644
(file)
--- 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);