mirror of
https://github.com/darlinghq/darling-WTF.git
synced 2025-02-17 02:18:39 +00:00
Merge pull request #4 from darlinghq/fedora_38_fix
Fix Building For Fedora 38
This commit is contained in:
commit
88a36e496a
@ -52,7 +52,11 @@ constexpr unsigned urlBytesBufferLength = 2048;
|
||||
// WebKit was compiled.
|
||||
// This is only really important for platforms that load an external IDN allowed script list.
|
||||
// Not important for the compiled-in one.
|
||||
#ifdef DARLING
|
||||
constexpr auto scriptCodeLimit = static_cast<UScriptCode>(255);
|
||||
#else
|
||||
constexpr auto scriptCodeLimit = static_cast<UScriptCode>(256);
|
||||
#endif
|
||||
|
||||
static uint32_t allowedIDNScriptBits[(scriptCodeLimit + 31) / 32];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user