vcpkg/ports/igraph/constant-nan.patch

13 lines
310 B
Diff
Raw Normal View History

diff --git a/vendor/plfit/hzeta.c b/vendor/plfit/hzeta.c
index d8f9a6d..4ef8d5d 100644
--- a/vendor/plfit/hzeta.c
+++ b/vendor/plfit/hzeta.c
@@ -43,6 +43,7 @@
/* Author: Jerome G. Benoit < jgmbenoit _at_ rezozer _dot_ net > */
#ifdef _MSC_VER
+#define _UCRT_NOISY_NAN
#define _USE_MATH_DEFINES
#endif