Skip to content

Commit b4ce3e0

Browse files
committed
Merge pull request #262 from remicollet/issue-logpriv
allow driver to use mongoc-log-private
2 parents bcf4c00 + 5cd61e3 commit b4ce3e0

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)