diff options
Diffstat (limited to 'sysdeps/common/error.c')
-rw-r--r-- | sysdeps/common/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/common/error.c b/sysdeps/common/error.c index 65640ce7..527c6ab4 100644 --- a/sysdeps/common/error.c +++ b/sysdeps/common/error.c @@ -129,7 +129,7 @@ glibtop_warn_io_r (glibtop *server, char *format, ...) va_end (args); } -#ifndef __GNUC__ +#if !defined(__GNUC__) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) void glibtop_error (char *format, ...) @@ -167,4 +167,4 @@ glibtop_warn_io (char *format, ...) va_end (args); } -#endif /* __GNUC__ */ +#endif /* !defined(__GNUC__) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) */ |