Files
serenity/Userland/Libraries/LibC
Lucas Chollet 73d178af94 LibC: Make wcschr and friends compatible with the C++ standard
The C++ standard defines wcschr, wcsrchr, wcspbrk, wcsstr and wmemchr
differently than POSIX. To be conformant, we need to provide a different
signature when __cplusplus is defined.

By defining the `__WCHAR_FORCE_C_DECLARATION` macro, users of `wchar.h`
can force the header to provide the C declaration even if __cplusplus is
defined. This escape hatch is needed to properly implement the C
function in LibC.

This makes us pass 3 more libcxx tests.
2026-08-27 17:24:28 +02:00
..
2026-06-19 06:09:59 +02:00
2022-08-23 19:07:12 +01:00
2024-04-24 16:50:01 -04:00
2022-12-03 23:52:23 +00:00
2022-08-23 19:07:12 +01:00
2026-06-19 06:09:59 +02:00
2022-07-08 22:27:38 +00:00
2022-08-23 19:07:12 +01:00
2026-08-26 13:21:14 +02:00
2026-08-22 21:48:49 +02:00
2022-01-07 18:38:32 +01:00
2023-06-07 13:44:44 +02:00
2022-08-23 19:07:12 +01:00
2022-11-08 11:51:19 +01:00
2022-08-23 19:07:12 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2025-08-07 21:34:32 -04:00
2025-08-07 21:34:32 -04:00
2026-08-24 20:16:51 -04:00
2023-09-03 06:21:40 +02:00
2023-09-03 06:21:40 +02:00
2022-10-14 13:37:29 +02:00
2022-10-14 13:37:29 +02:00
2024-04-24 16:50:01 -04:00
2026-07-14 08:20:09 -04:00
2022-04-01 21:24:45 +01:00
2025-04-23 19:22:40 -04:00