Skip to content

Commit f837282

Browse files
authored
CDRIVER-6103 AIX build failure fix (#2142)
1 parent cd7a46c commit f837282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libbson/tests/test-json.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,9 +1933,9 @@ test_bson_json_double(void)
19331933
BSON_ASSERT(BSON_ITER_HOLDS_DOUBLE(&iter));
19341934
ASSERT_CMPDOUBLE(bson_iter_double(&iter), ==, 0.0);
19351935

1936-
/* check that "x" is -0.0. signbit not available on FreeBSD or VS 2010
1936+
/* check that "x" is -0.0. signbit not available on FreeBSD or VS 2010 or AIX
19371937
*/
1938-
#if !defined(__FreeBSD__) && (!defined(_MSC_VER) || (_MSC_VER >= 1800))
1938+
#if !defined(__FreeBSD__) && (!defined(_MSC_VER) || (_MSC_VER >= 1800)) && (!defined(_AIX))
19391939
BSON_ASSERT(signbit(bson_iter_double(&iter)));
19401940
#endif
19411941

0 commit comments

Comments
 (0)