Skip to content

Commit cdba263

Browse files
committed
ENH: Improve clang-cl compliance
Avoid unnecessary MSVC path when using clang-cl
1 parent 5047644 commit cdba263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/src/multiarray/_multiarray_tests.c.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ get_fpu_mode(PyObject *NPY_UNUSED(self), PyObject *args)
19661966
return NULL;
19671967
}
19681968

1969-
#if defined(_MSC_VER)
1969+
#if defined(_MSC_VER) && !defined(__clang__)
19701970
{
19711971
unsigned int result = 0;
19721972
result = _controlfp(0, 0);

0 commit comments

Comments
 (0)