summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-26 12:55:23 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-27 16:10:53 +0300
commit8dab4a2aa3a078968e3df641ee607e1fb51ddfe2 (patch)
treea83d6ca12e39f1acd620db1418635e7772cccf74 /thirdparty/mbedtls
parent85ef0a1058fb0acbf550b8d3674d02d9023de82b (diff)
[Windows] Improve build environment detection, add support for Windows on ARM.
Diffstat (limited to 'thirdparty/mbedtls')
-rw-r--r--thirdparty/mbedtls/library/timing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/mbedtls/library/timing.c b/thirdparty/mbedtls/library/timing.c
index 57bc9bcc12..78bfa10cfb 100644
--- a/thirdparty/mbedtls/library/timing.c
+++ b/thirdparty/mbedtls/library/timing.c
@@ -195,8 +195,10 @@ unsigned long mbedtls_timing_hardclock( void )
#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