diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-16 09:32:04 -0400 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-16 09:32:04 -0400 |
commit | 6a8416cbd12d55f882bb751993b94f72d338d96f (patch) | |
tree | c22fae0f36cb5ebea2da177a542c708822ceea56 | |
parent | 5d5e76d369a412bfb3d2cebb5fc0a7509cef878d (diff) | |
download | gptfdisk-6a8416cbd12d55f882bb751993b94f72d338d96f.tar.gz |
Updated guid.cc to deal with minor change in libuuid
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | guid.cc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,8 @@ (commit 740, which is pre-release as I type; presumably version 1.19 and later once released). +- Updated guid.cc to deal with minor change in libuuid. + 1.0.9 (4/14/2022): ------------------ @@ -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); |