Patched musl with log functions

I pulled in the implementation of a few log functions from musl 0.8.7
because lua needed log2 to compile. Since lua needed only log2 I
commented out the ones that didn't immediatly compile like log1p.c.
This commit is contained in:
Dawid Sobczak 2023-07-06 11:48:59 +01:00
parent 36a81aa0b9
commit 2ae045cf8a
21 changed files with 1773 additions and 27 deletions

View file

@ -1,19 +0,0 @@
#ifndef _DLFCN_H
#define _DLFCN_H
#define RTLD_LAZY 0x10000
#define RTLD_NOW 0x20000
#define RTLD_GLOBAL 0x40000
#define RTLD_LOCAL 0x80000
#if 1
#define RTLD_NEXT ((void *) -1l)
#define RTLD_DEFAULT ((void *) 0)
#endif
int dlclose(void *);
char *dlerror(void);
void *dlopen(const char *, int);
void *dlsym(void *, const char *);
#endif