From 7af53a7128dcca033afa47dd36ab6d456653e5bb Mon Sep 17 00:00:00 2001 From: Andrew Adams Date: Mon, 23 Dec 2024 14:14:32 -0800 Subject: [PATCH] Add MSVC macro Co-authored-by: Alex Reinking --- test/correctness/saturating_casts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/correctness/saturating_casts.cpp b/test/correctness/saturating_casts.cpp index 9dff276ec442..7a17006b2e43 100644 --- a/test/correctness/saturating_casts.cpp +++ b/test/correctness/saturating_casts.cpp @@ -291,7 +291,7 @@ void test_one_source() { int main(int argc, char **argv) { -#ifdef __i386__ +#if defined(__i386__) || defined(_M_IX86) printf("[SKIP] Skipping test because it requires bit-exact int to float casts,\n" "and on i386 without SSE it is hard to guarantee that the test binary won't use x87 instructions.\n"); return 0;