pkgsrc-ng/filesystems/glusterfs/patches/patch-argp-standalone_argp-fmtstream.c
2014-08-11 13:27:10 +02:00

20 lines
688 B
C

$NetBSD: patch-argp-standalone_argp-fmtstream.c,v 1.5 2013/10/04 08:07:23 manu Exp $
--- argp-standalone/argp-fmtstream.c.orig 2013-07-12 17:43:25.000000000 +0000
+++ argp-standalone/argp-fmtstream.c
@@ -389,6 +389,7 @@ __argp_fmtstream_printf (struct argp_fmt
weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf)
#endif
+#if __STDC_VERSION__ - 199900L < 1
/* Duplicate the inline definitions in argp-fmtstream.h, for compilers
* that don't do inlining. */
size_t
@@ -471,5 +472,6 @@ __argp_fmtstream_point (argp_fmtstream_t
__argp_fmtstream_update (__fs);
return __fs->point_col >= 0 ? __fs->point_col : 0;
}
+#endif
#endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */