mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
stdbuf: port lib to macOS
* src/libstdbuf.c (fprintf, free, strtoumax): Undef these too, since Gnulib might replace them.
This commit is contained in:
1 parent
1677294076
commit
238dd8eb76
1 file changed
+5
-3
+5
-3
@@ -22,10 +22,12 @@
|
||||
#include "system.h"
|
||||
#include "minmax.h"
|
||||
|
||||
/* Deactivate config.h's "rpl_"-prefixed definition of malloc,
|
||||
since we don't link gnulib here, and the replacement isn't
|
||||
needed in this case as we don't malloc(0). */
|
||||
/* Deactivate config.h's "rpl_"-prefixed definitions, since we don't
|
||||
link gnulib here, and the replacements aren't needed. */
|
||||
#undef fprintf
|
||||
#undef free
|
||||
#undef malloc
|
||||
#undef strtoumax
|
||||
|
||||
/* Note currently for glibc (2.3.5) the following call does not change
|
||||
the buffer size, and more problematically does not give any indication
|
||||
|
||||
Reference in new issue
Block a user