Skip to content

Commit 934faf5

Browse files
authored
add "or equal to" to version compare macro (#1219)
1 parent d838ef2 commit 934faf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
* @micro: required micro version
9191
*
9292
* Compile-time version checking. Evaluates to %TRUE if the version
93-
* of BSON is greater than the required one.
93+
* of BSON is greater than or equal to the required one.
9494
*/
9595
#define BSON_CHECK_VERSION(major,minor,micro) \
9696
(BSON_MAJOR_VERSION > (major) || \

src/libmongoc/src/mongoc/mongoc-version.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
* @micro: required micro version
9292
*
9393
* Compile-time version checking. Evaluates to %TRUE if the version
94-
* of MONGOC is greater than the required one.
94+
* of MONGOC is greater than or equal to the required one.
9595
*/
9696
#define MONGOC_CHECK_VERSION(major,minor,micro) \
9797
(MONGOC_MAJOR_VERSION > (major) || \

0 commit comments

Comments
 (0)