diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-26 09:56:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-26 09:56:16 +0000 |
commit | 0d4c9dd277065aa34311794e729e3203f5988929 (patch) | |
tree | 1e821dd2dae9618210adf05d217421f2724b7aad /net | |
parent | b464b13b1f3055c863cb3f1b150f1cdb375f97ac (diff) | |
download | pkgsrc-0d4c9dd277065aa34311794e729e3203f5988929.tar.gz |
Define LIBFETCH_PRINTFLIKE for !gcc
Diffstat (limited to 'net')
-rw-r--r-- | net/libfetch/files/common.h | 4 |
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) && \ |