You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS pre-12.0 kIOMainPortDefault is undefined. Instead it is called kIOMasterPortDefault. As a result, when building on macOS pre-12.0 with the constant kIOMainPortDefault (as seen below), an error is generated
Summary
Description
On macOS pre-12.0
kIOMainPortDefault
is undefined. Instead it is calledkIOMasterPortDefault
. As a result, when building on macOS pre-12.0 with the constantkIOMainPortDefault
(as seen below), an error is generatedpsutil/psutil/arch/osx/cpu.c
Line 140 in 27a1432
Given that both of these constants are equal to
NULL
, one approach would be to useNULL
insteadcc @snOm3ad (who may have authored this code and have thoughts on the approach here)
xref: #2222
The text was updated successfully, but these errors were encountered: