error: use of undeclared identifier 'kIOMainPortDefault'
ZhxChen opened this issue · comments
clang -fmodules -o m1ddc m1ddc.m
m1ddc.m:84:63: error: use of undeclared identifier 'kIOMainPortDefault'
io_registry_entry_t root = IORegistryGetRootEntry(kIOMainPortDefault);
^
1 error generated.
make: *** [all] Error 1