1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

LibC+LibRegex: Move central regex definitions into LibC/bits

This decouples LibRegex from the serenity LibC.
Fixes #15251.
This commit is contained in:
Ali Mohammad Pur 2022-09-19 21:11:09 +04:30 committed by Linus Groh
parent 120e5aeca4
commit 578d73943a
4 changed files with 59 additions and 50 deletions

View file

@ -9,9 +9,9 @@
#include <AK/Types.h>
#include <stdio.h>
#ifdef __serenity__
# include <regex.h>
# include <bits/regex_defs.h>
#else
# include <LibC/regex.h>
# include <LibC/bits/regex_defs.h>
#endif
namespace regex {