[all-commits] [llvm/llvm-project] 002cba: [libc] limits.h: include compiler limits if not al...
alfredfo via All-commits
all-commits at lists.llvm.org
Tue Aug 15 18:59:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 002cba03298a7e8f0c1cadcb7996379e9ea5feff
https://github.com/llvm/llvm-project/commit/002cba03298a7e8f0c1cadcb7996379e9ea5feff
Author: Alfred Persson Forsberg <cat at catcream.org>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
M libc/include/llvm-libc-macros/limits-macros.h
Log Message:
-----------
[libc] limits.h: include compiler limits if not already included
The LLVM-libc build itself will override include paths and prefer it's
own limits.h over the compiler's limits.h. Because we rely on the
compiler limits.h for numerical limits in LLVM-libc it needs to be
include_next:ed if not already included. The other method to work
around this is to define all numeric macros in place.
Signed-off-by: Alfred Persson Forsberg <cat at catcream.org>
Reviewed By: thesamesam
Differential Revision: https://reviews.llvm.org/D158040
More information about the All-commits
mailing list