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 47ca44b commit 19e79c4Copy full SHA for 19e79c4
1 file changed
vlib/v/gen/c/cheaders.v
@@ -315,7 +315,10 @@ typedef int (*qsort_callback_func)(const void*, const void*);
315
#undef __attribute__
316
#endif
317
#ifdef __TERMUX__
318
-#if defined __BIONIC_AVAILABILITY_GUARD && __BIONIC_AVAILABILITY_GUARD(28)
+#if !defined(__BIONIC_AVAILABILITY_GUARD)
319
+ #define __BIONIC_AVAILABILITY_GUARD(api_level) 0
320
+#endif
321
+#if __BIONIC_AVAILABILITY_GUARD(28)
322
#else
323
void * aligned_alloc(size_t alignment, size_t size) { return malloc(size); }
324
0 commit comments