issue #2771: delete #define RAND_MAX in PhysicsTest.cpp(already defined in stdlib.h)

This commit is contained in:
boyu0 2013-10-11 10:24:55 +08:00
parent 3dcd1bc8b1
commit acf1d72213
1 changed files with 0 additions and 1 deletions

View File

@ -298,7 +298,6 @@ namespace
return (logo_image[(x>>3) + y*logo_row_length]>>(~x&0x7)) & 1;
}
#define RAND_MAX 0x7fffffff
static inline float frand(void)
{
return rand()/RAND_MAX;