Skip to content

Commit

Permalink
CDRIVER-4791 Add aligned_alloc exclusion for AIX (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
NattyNarwhal committed Nov 28, 2023
1 parent 74b027e commit 9fe8af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libbson/src/bson/bson-memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BSON_STATIC_ASSERT2 (bson_mem_vtable_t,
static void *
_aligned_alloc_impl (size_t alignment, size_t num_bytes)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
!defined(_WIN32) && !defined(__ANDROID__)
!defined(_WIN32) && !defined(__ANDROID__) && !defined(_AIX)
{
return aligned_alloc (alignment, num_bytes);
}
Expand Down

0 comments on commit 9fe8af1

Please sign in to comment.