4 Missing non-inline definition of aligned_alloc
11 #if __STDC_VERSION__ >= 201112L
12 #if !defined(__APPLE__)
13 #if !defined(__SDCC_hc08) && !defined(__SDCC_s08) && !defined(__SDCC_mcs51) && !defined(__SDCC_ds390) && !defined(__SDCC_pdk13) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined (__SDCC_mos6502) && !defined(__SDCC_mos65c02) || defined (__SDCC_STACK_AUTO) // Reentrancy required for function pointers.
14 void *(*volatile f
)(size_t, size_t) = &aligned_alloc
;
21 #if __STDC_VERSION__ >= 201112L
22 #if !defined(__APPLE__)
23 #if !defined(__SDCC_hc08) && !defined(__SDCC_s08) && !defined(__SDCC_mcs51) && !defined(__SDCC_ds390) && !defined(__SDCC_pdk13) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined (__SDCC_mos6502) && !defined(__SDCC_mos65c02) || defined (__SDCC_STACK_AUTO)
24 int *buffer
= (*f
)(_Alignof(int), sizeof(int) * 2);
27 ASSERT (buffer
[0] == 23);
28 ASSERT (buffer
[1] == 42);