diff options
Diffstat (limited to 'libc/src/__support/File/linux/stderr.cpp')
| -rw-r--r-- | libc/src/__support/File/linux/stderr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/__support/File/linux/stderr.cpp b/libc/src/__support/File/linux/stderr.cpp index 0b4b207329ff..bc174792856e 100644 --- a/libc/src/__support/File/linux/stderr.cpp +++ b/libc/src/__support/File/linux/stderr.cpp @@ -9,15 +9,16 @@ #include "file.h" #include "hdr/stdio_macros.h" #include "hdr/types/FILE.h" +#include "src/__support/macros/config.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { constexpr size_t STDERR_BUFFER_SIZE = 0; static LinuxFile StdErr(2, nullptr, STDERR_BUFFER_SIZE, _IONBF, false, File::ModeFlags(File::OpenMode::APPEND)); File *stderr = &StdErr; -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL extern "C" { FILE *stderr = reinterpret_cast<FILE *>(&LIBC_NAMESPACE::StdErr); |
