]> git.saurik.com Git - redis.git/commitdiff
Defined macro with bigger number that redisLrand48() can output.
authorantirez <antirez@gmail.com>
Fri, 23 Sep 2011 13:06:07 +0000 (15:06 +0200)
committerantirez <antirez@gmail.com>
Fri, 23 Sep 2011 13:06:07 +0000 (15:06 +0200)
src/rand.h

index 8825196d2a20e5fde230b7434964ca8474d25af5..b4aae5668483cf6623b641b186fe655573df27a0 100644 (file)
@@ -4,4 +4,6 @@
 int32_t redisLrand48();
 void redisSrand48(int32_t seedval);
 
 int32_t redisLrand48();
 void redisSrand48(int32_t seedval);
 
+#define REDIS_LRAND48_MAX INT32_MAX
+
 #endif
 #endif