mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03: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);
|