mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
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);
|