| ... | ... |
@@ -384,7 +384,10 @@ static void http_vlog(const char *fmt, va_list vargs) |
| 384 | 384 |
} |
| 385 | 385 |
} |
| 386 | 386 |
|
| 387 |
-static void __attribute__ ((format (printf, 1, 2))) http_log(const char *fmt, ...) |
|
| 387 |
+#ifdef __GNUC__ |
|
| 388 |
+__attribute__ ((format (printf, 1, 2))) |
|
| 389 |
+#endif |
|
| 390 |
+static void http_log(const char *fmt, ...) |
|
| 388 | 391 |
{
|
| 389 | 392 |
va_list vargs; |
| 390 | 393 |
va_start(vargs, fmt); |