mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
whoops
This commit is contained in:
parent
6276d7d0e2
commit
05ab96a615
@ -1864,7 +1864,7 @@ static cc_result GetMachineID(cc_uint32* key) {
|
|||||||
|
|
||||||
#ifdef kIOPlatformUUIDKey
|
#ifdef kIOPlatformUUIDKey
|
||||||
uuid = IORegistryEntryCreateCFProperty(registry, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0);
|
uuid = IORegistryEntryCreateCFProperty(registry, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0);
|
||||||
if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8))) {
|
if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8)) {
|
||||||
DecodeMachineID(tmp, String_Length(tmp), key);
|
DecodeMachineID(tmp, String_Length(tmp), key);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user