summaryrefslogtreecommitdiff
path: root/src/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rand.h')
-rw-r--r--src/rand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rand.h b/src/rand.h
index 8825196d2..b4aae5668 100644
--- a/src/rand.h
+++ b/src/rand.h
@@ -4,4 +4,6 @@
int32_t redisLrand48();
void redisSrand48(int32_t seedval);
+#define REDIS_LRAND48_MAX INT32_MAX
+
#endif