about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibm.c')
-rw-r--r--src/wrapped/wrappedlibm.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibm.c b/src/wrapped/wrappedlibm.c
index 670ce370..797d8bd3 100644
--- a/src/wrapped/wrappedlibm.c
+++ b/src/wrapped/wrappedlibm.c
@@ -1,7 +1,7 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#define _GNU_SOURCE /* See feature_test_macros(7) */
 #include <dlfcn.h>
 #include <complex.h>
 #include <math.h>
@@ -193,6 +193,14 @@ EXPORT double my_llrintl(x64emu_t* emu, double val)
 }
 #endif
 
+double my_pow10(double a) { return exp10(a);}
+float my_pow10f(float a) { return exp10f(a);}
+long double my_pow10l(long double a) { return exp10l(a);}
+
+#ifdef STATICBUILD
+//extern void* _LIB_VERSION;
+#endif
+
 #undef FROUND
 #undef TO_NATIVE