From 411267ebaad5376e82d80dc4d00ab927c511e423 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Tue, 23 Jul 2024 13:09:14 +0700 Subject: [PATCH] fix GCC check for `div64_32` function --- src/m_fixed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_fixed.h b/src/m_fixed.h index 969c2644..72041315 100644 --- a/src/m_fixed.h +++ b/src/m_fixed.h @@ -30,7 +30,7 @@ #define div64_32(a, b) _div64((a), (b), NULL) -#elif defined(__GNUC__) && defined(_M_X64) +#elif defined(__GNUC__) && defined(__x86_64__) inline static int32_t div64_32(int64_t a, int32_t b) {