Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

Commit 728e121

Browse files
committed
CDRIVER-2423 fix config check for rand_r
1 parent 8ce39e3 commit 728e121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bson/bson-context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ _bson_context_init (bson_context_t *context, /* IN */
347347
seed[2] = _bson_getpid ();
348348
real_seed = seed[0] ^ seed[1] ^ seed[2];
349349

350-
#ifndef BSON_HAS_RAND_R
350+
#ifndef BSON_HAVE_RAND_R
351351
/* ms's runtime is multithreaded by default, so no rand_r */
352352
/* no rand_r on android either */
353353
srand (real_seed);

0 commit comments

Comments
 (0)