diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-11 05:10:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-11 09:51:20 +0200 |
commit | be4b20c14d13246b6b798e931ede2df22de54737 (patch) | |
tree | 5ee38f3132269e1a514ccc3b78fff394108e8a67 /Userland/Utilities/truncate.cpp | |
parent | dc446920e0710fec1a37b9212e1292df629be09a (diff) | |
download | serenity-be4b20c14d13246b6b798e931ede2df22de54737.zip |
LibC: Make <limits.h> compatible with GCC so that it doesn't install a fixed header
GCC installs a fixed version of the <limits.h> header as per https://gcc.gnu.org/onlinedocs/gcc/Fixed-Headers.html.
The fixed header doesn't include the target's <limits.h> which in turn means that some definitions (such as PATH_MAX)
aren't available. This change requires rebuilding the toolchain (Toolchain/BuildIt.sh).
This fixes the flatbuffers port.
The commit also removes some non-standard defines (U*_MIN) which don't appear to be used
anywhere. By definition they're always 0 though so they're not strictly necessary.
Diffstat (limited to 'Userland/Utilities/truncate.cpp')
0 files changed, 0 insertions, 0 deletions