pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Define LIBFETCH_PRINTFLIKE for !gcc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9210ab946dc
branches:  trunk
changeset: 603005:b9210ab946dc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 26 09:56:16 2012 +0000

description:
Define LIBFETCH_PRINTFLIKE for !gcc

diffstat:

 net/libfetch/files/common.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 330a92512097 -r b9210ab946dc net/libfetch/files/common.h
--- a/net/libfetch/files/common.h       Thu Apr 26 08:28:28 2012 +0000
+++ b/net/libfetch/files/common.h       Thu Apr 26 09:56:16 2012 +0000
@@ -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) && \



Home | Main Index | Thread Index | Old Index