X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstdio.in.h;h=232fd988a94750da5f0c25d029678a54a27c6f7d;hb=beae0bdcf7fe30f2415c16f6b8c1368d469e519c;hp=d945d5cebb021da9c654a9a43f9966e41c43c955;hpb=6dd07e3dccc982a6e87f1f3d531e0b80e63679db;p=gnulib.git diff --git a/lib/stdio.in.h b/lib/stdio.in.h index d945d5ceb..232fd988a 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -124,6 +124,15 @@ #define _GL_STDIO_STRINGIZE(token) #token #define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) +/* When also using extern inline, suppress the use of static inline in + standard headers of problematic Apple configurations, as Libc at + least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., + . + Perhaps Apple will fix this some day. */ +#if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ + && defined __GNUC__ && defined __STDC__) +# undef putc_unlocked +#endif #if @GNULIB_DPRINTF@ # if @REPLACE_DPRINTF@