1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:37:36 +00:00

LibC: Make wchar size definitions available from stdint.h

POSIX describes WCHAR_MIN and WCHAR_MAX in stdint.h(0P), while
wchar.h(0P) only says "as described in stdint.h".

As there isn't a trivial path of "may make visible", just move it to a
shared header and include it from both files.
This commit is contained in:
Tim Schumacher 2022-03-29 00:22:27 +02:00 committed by Andreas Kling
parent f4ed4b2806
commit cdca6fc113
3 changed files with 17 additions and 10 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <bits/wchar_size.h>
#include <sys/cdefs.h>
__BEGIN_DECLS