1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

LibCrypto: Forward declare tommath types properly on Windows

This commit is contained in:
Andrew Kaster 2025-05-28 23:51:27 -06:00 committed by Andrew Kaster
parent f669af3a5c
commit e67495e141
Notes: github-actions[bot] 2025-05-29 09:27:51 +00:00

View file

@ -6,8 +6,15 @@
#pragma once #pragma once
#include <AK/Platform.h>
#include <stdint.h>
extern "C" { extern "C" {
#if defined(AK_OS_WINDOWS)
typedef uint32_t mp_digit;
#else
typedef uint64_t mp_digit; typedef uint64_t mp_digit;
#endif
typedef int mp_sign; typedef int mp_sign;
// This is a workaround for the fact that Tommath doesn't have a proper // This is a workaround for the fact that Tommath doesn't have a proper