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 d4a5446 commit 7c37e1fCopy full SHA for 7c37e1f
src/libbson/src/bson/bson-memory.c
@@ -33,7 +33,8 @@ BSON_STATIC_ASSERT2 (bson_mem_vtable_t,
33
// For compatibility with C standards prior to C11.
34
static void *
35
_aligned_alloc_impl (size_t alignment, size_t num_bytes)
36
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && !defined(_WIN32)
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
37
+ !defined(_WIN32) && !defined(__ANDROID__)
38
{
39
return aligned_alloc (alignment, num_bytes);
40
}
0 commit comments