Files
MSYS2-packages/zstd/fix-core-count-detection.patch
Christoph Reiter cce62b2371 zstd: some fixes/improvements (#1817)
* zstd: remove unneeded patch

UNIX is true anyway

* zstd: install man pages

* zstd: fix core count detection

It would default to 1 without this

* zstd: define _POSIX_C_SOURCE

otherwise fileno() isn't defined and we get warnings

* zstd: bump pkgrel
2020-01-13 07:47:25 +03:00

12 lines
421 B
Diff

--- zstd-1.4.4/programs/util.c.orig 2020-01-06 06:41:47.793486500 +0100
+++ zstd-1.4.4/programs/util.c 2020-01-06 06:41:57.234481400 +0100
@@ -621,7 +621,7 @@
return numPhysicalCores;
}
-#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__CYGWIN__)
/* Use POSIX sysconf
* see: man 3 sysconf */