We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7a46c commit f837282Copy full SHA for f837282
src/libbson/tests/test-json.c
@@ -1933,9 +1933,9 @@ test_bson_json_double(void)
1933
BSON_ASSERT(BSON_ITER_HOLDS_DOUBLE(&iter));
1934
ASSERT_CMPDOUBLE(bson_iter_double(&iter), ==, 0.0);
1935
1936
-/* check that "x" is -0.0. signbit not available on FreeBSD or VS 2010
+/* check that "x" is -0.0. signbit not available on FreeBSD or VS 2010 or AIX
1937
*/
1938
-#if !defined(__FreeBSD__) && (!defined(_MSC_VER) || (_MSC_VER >= 1800))
+#if !defined(__FreeBSD__) && (!defined(_MSC_VER) || (_MSC_VER >= 1800)) && (!defined(_AIX))
1939
BSON_ASSERT(signbit(bson_iter_double(&iter)));
1940
#endif
1941
0 commit comments