SIGN IN SIGN UP

common : add support for cpu_get_num_physical_cores() on Windows (#8771)

* Add support for cpu_get_num_phsical_cores() on Windows

* fix build bug on msys2-clang64 and ucrt64

* avoid adding new function

* add new macros to avoid windows+mingw64

* Add error checking to return default value
L
Liu Jia committed
fb487bb5671b37267f35ff43fe8849ddccd925cd
Parent: 2a24c8c
Committed by GitHub <noreply@github.com> on 8/16/2024, 6:23:12 AM