We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0ce43 commit 5926ee9Copy full SHA for 5926ee9
simde/simde-math.h
@@ -103,10 +103,11 @@ SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
103
* macro libc++ uses. */
104
#if defined(isnan) || (defined(_LIBCPP_MATH_H) && !defined(_LIBCPP_CMATH))
105
#define SIMDE_MATH_HAVE_MATH_H
106
- #elif defined(__cplusplus)
+ #elif defined(__cplusplus) && !defined(HEDLEY_MSVC_VERSION)
107
#define SIMDE_MATH_HAVE_CMATH
108
#endif
109
-#elif defined(__has_include)
+#endif
110
+#if defined(__has_include) && !(defined(SIMDE_MATH_HAVE_MATH_H) || defined(SIMDE_MATH_HAVE_CMATH))
111
#if defined(__cplusplus) && (__cplusplus >= 201103L) && __has_include(<cmath>)
112
113
#include <cmath>
0 commit comments