Updated guid.cc to deal with minor change in libuuid

This commit is contained in:
Rod Smith
2022-04-16 09:32:04 -04:00
parent 5d5e76d369
commit 6a8416cbd1
2 changed files with 3 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ void GUIDData::Zero(void) {
void GUIDData::Randomize(void) {
int i, uuidGenerated = 0;
#ifdef _UUID_UUID_H
#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)
uuid_generate(uuidData);
ReverseBytes(&uuidData[0], 4);
ReverseBytes(&uuidData[4], 2);