mirror of
https://github.com/vlang/v.git
synced 2025-09-22 20:09:04 -04:00
cgen: fix building on Termux after fa904c4
This commit is contained in:
parent
afc710e024
commit
2cdacb8c00
@ -336,6 +336,12 @@ typedef int (*qsort_callback_func)(const void*, const void*);
|
||||
|
||||
#include <stdarg.h> // for va_list
|
||||
|
||||
#ifdef __TERMUX__
|
||||
#if __BIONIC_AVAILABILITY_GUARD(28)
|
||||
#else
|
||||
void * aligned_alloc(size_t alignment, size_t size) { return malloc(size); }
|
||||
#endif
|
||||
#endif
|
||||
//================================== GLOBALS =================================*/
|
||||
int load_so(byteptr);
|
||||
void _vinit(int ___argc, voidptr ___argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user