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.18 by greg, Sat Apr 9 15:39:16 2011 UTC vs.
Revision 2.19 by greg, Mon Jan 26 20:04:30 2015 UTC

# Line 10 | Line 10 | extern "C" {
10  
11   #ifdef  _WIN32
12  
13 + #include <stdlib.h>
14 +
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