Skip to content

Commit 80f7105

Browse files
committed
Add rand_r/strlcpy comments in bson-config.h.in
1 parent 0756cbb commit 80f7105

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/libbson/src/bson/bson-config.h.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,19 @@
113113
# undef BSON_HAVE_SYSCALL_TID
114114
#endif
115115

116+
117+
/*
118+
* Define to 1 if you have rand_r available on your platform.
119+
*/
116120
#define BSON_HAVE_RAND_R @BSON_HAVE_RAND_R@
117121
#if BSON_HAVE_RAND_R != 1
118122
# undef BSON_HAVE_RAND_R
119123
#endif
120124

125+
126+
/*
127+
* Define to 1 if you have strlcpy available on your platform.
128+
*/
121129
#define BSON_HAVE_STRLCPY @BSON_HAVE_STRLCPY@
122130
#if BSON_HAVE_STRLCPY != 1
123131
# undef BSON_HAVE_STRLCPY

0 commit comments

Comments
 (0)