Skip to content

Commit f8da358

Browse files
committed
Set RAND_MAX
1 parent 1d9b547 commit f8da358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stresstest.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static __inline void srand48(long seed) {
9393
}
9494

9595
#ifndef RAND_MAX
96-
//#define RAND_MAX 0x7fffffff
96+
#define RAND_MAX 0x7fffffff
9797
#endif
9898

9999
static __inline long lrand48(void) {

0 commit comments

Comments
 (0)