diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index e0b02618658..5f8f7514b0a 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -437,16 +437,14 @@ endif () #----------------------------------------------------------------------------- # Check a bunch of other functions #----------------------------------------------------------------------------- -if (MINGW OR NOT WINDOWS) - foreach (other_test - HAVE_ATTRIBUTE - HAVE_BUILTIN_EXPECT - PTHREAD_BARRIER - HAVE_SOCKLEN_T +foreach (other_test + HAVE_ATTRIBUTE + HAVE_BUILTIN_EXPECT + PTHREAD_BARRIER + HAVE_SOCKLEN_T ) - HDF_FUNCTION_TEST (${other_test}) - endforeach () -endif () + HDF_FUNCTION_TEST (${other_test}) +endforeach () # ---------------------------------------------------------------------- # Set the flag to indicate that the machine can handle converting