cgen: fix building on Termux after fa904c4

This commit is contained in:
Delyan Angelov 2025-08-07 09:59:23 +03:00
parent afc710e024
commit 2cdacb8c00
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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);