equal
deleted
inserted
replaced
1 Solaris-specific patch. Adds if def(SOLARIS) case. |
|
2 Do not plan to send upstream. |
|
3 |
|
4 diff --git a/xpcom/base/nsUUIDGenerator.cpp b/xpcom/base/nsUUIDGenerator.cpp |
|
5 --- a/xpcom/base/nsUUIDGenerator.cpp |
|
6 +++ b/xpcom/base/nsUUIDGenerator.cpp |
|
7 @@ -11,17 +11,17 @@ |
|
8 #include <CoreFoundation/CoreFoundation.h> |
|
9 #else |
|
10 #include <stdlib.h> |
|
11 #include "prrng.h" |
|
12 #endif |
|
13 |
|
14 #include "nsUUIDGenerator.h" |
|
15 |
|
16 -#ifdef ANDROID |
|
17 +#if defined(ANDROID) || defined(SOLARIS) |
|
18 extern "C" NS_EXPORT void arc4random_buf(void*, size_t); |
|
19 #endif |
|
20 |
|
21 using namespace mozilla; |
|
22 |
|
23 NS_IMPL_ISUPPORTS(nsUUIDGenerator, nsIUUIDGenerator) |
|
24 |
|
25 nsUUIDGenerator::nsUUIDGenerator() |
|