ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/random.h
(Generate patch)

Comparing ray/src/common/random.h (file contents):
Revision 2.22 by greg, Thu Jul 16 05:08:57 2015 UTC vs.
Revision 2.23 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 11 | Line 11
11   extern "C" {
12   #endif
13  
14 < #ifdef  _WIN32
15 <
14 > #if defined(_WIN32) || defined(_WIN64)
15   #if (RAND_MAX <= 65536)
16   #define random()        ((long)rand()<<16^(long)rand()<<6^(long)rand()>>4)
17   #else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines