diff --git a/mfbt/tests/TestPoisonArea.cpp b/mfbt/tests/TestPoisonArea.cpp index 43a2f51c4b3..6f1b61ed377 100644 --- a/mfbt/tests/TestPoisonArea.cpp +++ b/mfbt/tests/TestPoisonArea.cpp @@ -408,14 +408,14 @@ IsBadExecPtr(uintptr_t aPtr) { BOOL ret = false; -#if defined(_MSC_VER) && !defined(__clang__) +#ifdef _MSC_VER __try { JumpTo(aPtr); } __except (EXCEPTION_EXECUTE_HANDLER) { ret = true; } #else - printf("INFO | exec test not supported on MinGW or clang-cl builds\n"); + printf("INFO | exec test not supported on MinGW build\n"); // We do our best ret = IsBadReadPtr((const void*)aPtr, 1); #endif