Skip to content

Commit d875453

Browse files
committed
windows compatibility in test-mongoc-client
1 parent e02892f commit d875453

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test-mongoc-client.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
#include "mock_server/mock-server.h"
1414
#include "mongoc-tests.h"
1515

16+
#ifdef _WIN32
17+
# define strcasecmp _stricmp
18+
#endif
19+
1620

1721
#undef MONGOC_LOG_DOMAIN
1822
#define MONGOC_LOG_DOMAIN "client-test"

0 commit comments

Comments
 (0)