summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-14 14:42:59 -0800
committerElliott Hughes <enh@google.com>2014-11-14 14:42:59 -0800
commit168667c972a1e9ede5b64ad6cee0666e9b96d4d8 (patch)
treed4312b237b885460537ce9dc8fe53e26564a7d48 /libc/stdio/stdio_ext.cpp
parent898aab282cff2a2949bc1726f8a4b81c1c30148e (diff)
Add non-macro stdin/stdout/stderr too.
Various C and C++ standards explicitly say that stdin/stdout/stderr should be macros, but glibc makes them global variables too. This means it's possible to write code that uses those names as locals, but that code (toybox being an example) won't build on bionic. If we'd done this earlier, we could have hidden __sF for LP64, but it's too late now. Change-Id: I90cf8c73f52b66e1760b8fa2e135b9f9f9651230
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions