mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-01 10:12:27 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
34
third_party/libcxx/stdio.h
vendored
34
third_party/libcxx/stdio.h
vendored
|
@ -9,14 +9,14 @@
|
|||
|
||||
#if defined(__need_FILE) || defined(__need___FILE)
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
# endif
|
||||
|
||||
#include_next <stdio.h>
|
||||
# include_next <stdio.h>
|
||||
|
||||
#elif !defined(_LIBCPP_STDIO_H)
|
||||
#define _LIBCPP_STDIO_H
|
||||
# define _LIBCPP_STDIO_H
|
||||
|
||||
/*
|
||||
stdio.h synopsis
|
||||
|
@ -98,24 +98,26 @@ int ferror(FILE* stream);
|
|||
void perror(const char* s);
|
||||
*/
|
||||
|
||||
#include <__config>
|
||||
# include <__config>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
# endif
|
||||
|
||||
# if __has_include_next(<stdio.h>)
|
||||
# include_next <stdio.h>
|
||||
# endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
# ifdef __cplusplus
|
||||
|
||||
#undef getc
|
||||
#undef putc
|
||||
#undef clearerr
|
||||
#undef feof
|
||||
#undef ferror
|
||||
# undef getc
|
||||
# undef putc
|
||||
# undef clearerr
|
||||
# undef feof
|
||||
# undef ferror
|
||||
# undef putchar
|
||||
# undef getchar
|
||||
|
||||
#endif
|
||||
# endif
|
||||
|
||||
#endif // _LIBCPP_STDIO_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue