[Bug] Fixed CpuInfo not reporting hw thread count on non-windows platforms

This commit is contained in:
kobalicek
2023-12-27 18:11:49 +01:00
parent 5ce45e0356
commit b0638ede77

View File

@@ -14,12 +14,15 @@
#endif
#endif // ASMJIT_ARCH_X86
#if !defined(_WIN32)
#include <unistd.h>
#endif
#if ASMJIT_ARCH_ARM
// Required by various utilities that are required by features detection.
#if !defined(_WIN32)
#include <errno.h>
#include <sys/utsname.h>
#include <unistd.h>
#endif
//! Required to detect CPU and features on Apple platforms.