Skip to content

Commit d3601bd

Browse files
NattyNarwhaleramongodb
authored andcommitted
CDRIVER-4791 Add aligned_alloc exclusion for AIX (#1480)
1 parent ddf585a commit d3601bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libbson/src/bson/bson-memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ BSON_STATIC_ASSERT2 (bson_mem_vtable_t,
3434
static void *
3535
_aligned_alloc_impl (size_t alignment, size_t num_bytes)
3636
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
37-
!defined(_WIN32) && !defined(__ANDROID__)
37+
!defined(_WIN32) && !defined(__ANDROID__) && !defined(_AIX)
3838
{
3939
return aligned_alloc (alignment, num_bytes);
4040
}

0 commit comments

Comments
 (0)