Skip to content

Commit 9e9acf4

Browse files
authored
Fix wrong assignment of MONGOC_HAVE_SS_FAMILY (#1169)
1 parent 45979ed commit 9e9acf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/autotools/libmongoc/FindDependencies.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ AC_CHECK_TYPE([socklen_t],
2626
[#include <sys/socket.h>])
2727

2828
AC_CHECK_MEMBER([struct sockaddr_storage.ss_family],
29-
[AC_SUBST(MONGOC_HAVE_SS_FAMILY, 0)],
3029
[AC_SUBST(MONGOC_HAVE_SS_FAMILY, 1)],
30+
[AC_SUBST(MONGOC_HAVE_SS_FAMILY, 0)],
3131
[#include <sys/socket.h>])
3232

3333
# Check for pthreads. libmongoc's original FindDependencies.m4 script did not

0 commit comments

Comments
 (0)