2022-12-21 11:05:54 +00:00
|
|
|
diff --git a/thirdparty/mbedtls/library/timing.c b/thirdparty/mbedtls/library/timing.c
|
2023-08-04 16:09:03 +00:00
|
|
|
index 94b55b3715..58c2c2730d 100644
|
2022-12-21 11:05:54 +00:00
|
|
|
--- a/thirdparty/mbedtls/library/timing.c
|
|
|
|
+++ b/thirdparty/mbedtls/library/timing.c
|
2023-08-04 16:09:03 +00:00
|
|
|
@@ -190,8 +190,10 @@ unsigned long mbedtls_timing_hardclock(void)
|
2022-12-21 11:05:54 +00:00
|
|
|
#endif /* !HAVE_HARDCLOCK && MBEDTLS_HAVE_ASM &&
|
|
|
|
__GNUC__ && __ia64__ */
|
|
|
|
|
|
|
|
-#if !defined(HAVE_HARDCLOCK) && defined(_MSC_VER) && \
|
|
|
|
+// -- GODOT start --
|
|
|
|
+#if !defined(HAVE_HARDCLOCK) && defined(_WIN32) && \
|
|
|
|
!defined(EFIX64) && !defined(EFI32)
|
|
|
|
+// -- GODOT end --
|
|
|
|
|
|
|
|
#define HAVE_HARDCLOCK
|
|
|
|
|