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 4edb995 commit c05a1a0Copy full SHA for c05a1a0
src/libbson/src/bson/bson-memory.c
@@ -33,7 +33,7 @@ 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
+#if __STDC_VERSION__ >= 201112L && !defined(_WIN32)
37
{
38
return aligned_alloc (alignment, num_bytes);
39
}
0 commit comments