mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +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
27
third_party/libcxx/stddef.h
vendored
27
third_party/libcxx/stddef.h
vendored
|
@ -7,18 +7,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if defined(__need_ptrdiff_t) || defined(__need_size_t) || \
|
||||
defined(__need_wchar_t) || defined(__need_NULL) || defined(__need_wint_t)
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#include_next <stddef.h>
|
||||
|
||||
#elif !defined(_LIBCPP_STDDEF_H)
|
||||
#define _LIBCPP_STDDEF_H
|
||||
|
||||
/*
|
||||
stddef.h synopsis
|
||||
|
||||
|
@ -42,12 +30,15 @@ Types:
|
|||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
# if __has_include_next(<stddef.h>)
|
||||
# include_next <stddef.h>
|
||||
// Note: This include is outside of header guards because we sometimes get included multiple times
|
||||
// with different defines and the underlying <stddef.h> will know how to deal with that.
|
||||
#include_next <stddef.h>
|
||||
|
||||
#ifndef _LIBCPP_STDDEF_H
|
||||
# define _LIBCPP_STDDEF_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
typedef decltype(nullptr) nullptr_t;
|
||||
# endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
typedef decltype(nullptr) nullptr_t;
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_STDDEF_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue