Skip to content

Commit 5cd61e3

Browse files
committed
allow driver to use mongoc-log-private
1 parent bcf4c00 commit 5cd61e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-log-private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef MONGOC_LOG_PRIVATE_H
1818
#define MONGOC_LOG_PRIVATE_H
1919

20-
#if !defined (MONGOC_INSIDE) && !defined (MONGOC_COMPILATION)
20+
#if !defined (MONGOC_INSIDE) && !defined (MONGOC_COMPILATION) && !defined (MONGOC_I_AM_A_DRIVER)
2121
# error "Only <mongoc.h> can be included directly."
2222
#endif
2323

0 commit comments

Comments
 (0)