mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 11:06:39 -04:00
devel/wasi-libc is now flavourised per supported LLVM version. Each flavour includes/copies the corresponding clang's stdarg.h and stddef.h instead of simply using the latest clang release. Technically upstream dropped support for LLVM < 18, but the commit doing so admittedly operated under an uncertain assumption. LLVM 17 is still supported in these ports for the benefit of Rust and gecko@ ports, which specify LLVM 17 minimum, and to facilitate LTO with that version. LLVM 19 is also supported in this version, with the corresponding ports to be committed separately. Bump PORTREVISION of consumers
20 lines
717 B
C
20 lines
717 B
C
/*===---- __stddef_ptrdiff_t.h - Definition of ptrdiff_t -------------------===
|
|
*
|
|
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
* See https://llvm.org/LICENSE.txt for license information.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*
|
|
*===-----------------------------------------------------------------------===
|
|
*/
|
|
|
|
/*
|
|
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
* and needs to behave as if it was textual.
|
|
*/
|
|
#if !defined(_PTRDIFF_T) || \
|
|
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
#define _PTRDIFF_T
|
|
|
|
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
|
|
|
#endif
|