components/desktop/firefox/patches/firefox-43-xpcom.patch
branchs11u3-sru
changeset 7364 1ac24a377555
parent 7356 74eef0c2f07d
child 7365 46cabb29da49
equal deleted inserted replaced
7356:74eef0c2f07d 7364:1ac24a377555
     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()