mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
cgen: fix building on Termux after fa904c4
This commit is contained in:
parent
afc710e024
commit
2cdacb8c00
1 changed files with 6 additions and 0 deletions
|
@ -336,6 +336,12 @@ typedef int (*qsort_callback_func)(const void*, const void*);
|
||||||
|
|
||||||
#include <stdarg.h> // for va_list
|
#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 =================================*/
|
//================================== GLOBALS =================================*/
|
||||||
int load_so(byteptr);
|
int load_so(byteptr);
|
||||||
void _vinit(int ___argc, voidptr ___argv);
|
void _vinit(int ___argc, voidptr ___argv);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue