We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40f748b commit 5f16b6aCopy full SHA for 5f16b6a
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 __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