freebsd-ports/mail/ifile/files/patch-argp_argp-fmtstream.h
Kurt Jaeger 5c080d0f3d mail/ifile: fix mail/ifile build with FORTIFY_SOURCE
PR:		202572
Submitted by:	Oliver Pinter <op@freebsd.org>
2015-08-31 19:31:06 +00:00

20 lines
616 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- argp/argp-fmtstream.h.orig 2006-05-22 16:49:23 UTC
+++ argp/argp-fmtstream.h
@@ -186,7 +186,7 @@ extern void __argp_fmtstream_update (arg
extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
-#ifdef __OPTIMIZE__
+#ifdef __OPTIMIZE_INLINE__
/* Inline versions of above routines. */
#if !_LIBC
@@ -298,7 +298,7 @@ __argp_fmtstream_point (argp_fmtstream_t
#undef __argp_fmtstream_ensure
#endif
-#endif /* __OPTIMIZE__ */
+#endif /* __OPTIMIZE_INLINE__ */
#endif /* ARGP_FMTSTREAM_USE_LINEWRAP */