Closed barracuda156 closed 1 month ago
I don't have that old macOS system to test with, nor do I care them, to be honest. Even if you fixed these syntax errors, this code may not work due to the different data structure of system_profiler SPMemoryDataType
result.
Maybe a normal C could be used here?
This is a BIG no. Adding some ifndef MAC_OS_X_VERSION_10_15
guards to prevent this code from compiling is enough.
By the way, I think I do have some code assuming little endian machine is used.
@CarterLi Got it, I will just disable this module, no issues. It looks fairly isolated.
By the way, I think I do have some code assuming little endian machine is used.
If you could refer me to specific instances, that would be very helpful.
Then this fails to compile:
Maybe a normal C could be used here?