forked from townforge/townforge
25 lines
707 B
C
25 lines
707 B
C
#include <math.h>
|
|
#include <glob.h>
|
|
|
|
#if 1
|
|
|
|
asm(".symver pow, pow@GLIBC_2.2.5");
|
|
double __wrap_pow(double x, double y) { return pow(x, y); }
|
|
|
|
asm(".symver powf, powf@GLIBC_2.2.5");
|
|
float __wrap_powf(float x, float y) { return powf(x, y); }
|
|
|
|
asm(".symver log, log@GLIBC_2.2.5");
|
|
double __wrap_log(double x) { return log(x); }
|
|
|
|
asm(".symver logf, logf@GLIBC_2.2.5");
|
|
float __wrap_logf(float x) { return logf(x); }
|
|
|
|
asm(".symver expf, expf@GLIBC_2.2.5");
|
|
float __wrap_expf(float x) { return expf(x); }
|
|
|
|
asm(".symver glob, glob@GLIBC_2.2.5");
|
|
int __wrap_glob(const char *pattern, int flags, int (*errfunc) (const char *epath, int eerrno), glob_t *pglob) { return glob(pattern, flags, errfunc, pglob); }
|
|
|
|
#endif
|