aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/w_exp10_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/w_exp10_compat.c')
-rw-r--r--sysdeps/i386/fpu/w_exp10_compat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/w_exp10_compat.c b/sysdeps/i386/fpu/w_exp10_compat.c
index b534553..49a0e03 100644
--- a/sysdeps/i386/fpu/w_exp10_compat.c
+++ b/sysdeps/i386/fpu/w_exp10_compat.c
@@ -1,3 +1,8 @@
/* i386 provides an optimized __ieee754_exp10. */
-#define NO_COMPAT_NEEDED 1
-#include <math/w_exp10_compat.c>
+#ifdef SHARED
+# define NO_COMPAT_NEEDED 1
+# include <math/w_exp10_compat.c>
+#else
+# include <math-type-macros-double.h>
+# include <w_exp10_template.c>
+#endif