summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
Diffstat (limited to 'net/libfetch')
-rw-r--r--net/libfetch/files/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/libfetch/files/common.h b/net/libfetch/files/common.h
index 0b9368973d7..8e79f45e13a 100644
--- a/net/libfetch/files/common.h
+++ b/net/libfetch/files/common.h
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.19 2012/04/07 15:27:21 joerg Exp $ */
+/* $NetBSD: common.h,v 1.20 2012/04/26 09:56:16 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -48,6 +48,8 @@
#if defined(__GNUC__) && __GNUC__ >= 3
#define LIBFETCH_PRINTFLIKE(fmtarg, firstvararg) \
__attribute__((__format__ (__printf__, fmtarg, firstvararg)))
+#else
+#define LIBFETCH_PRINTFLIKE(fmtarg, firstvararg)
#endif
#if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \