forked from mirrors/nixpkgs
12 lines
321 B
Diff
12 lines
321 B
Diff
|
--- a/guid.cc
|
||
|
+++ b/guid.cc
|
||
|
@@ -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);
|