summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-15 09:29:53 +0100
committernsz <nsz@port70.net>2012-03-15 09:29:53 +0100
commit40305f74bd70a575ce73260227ed3b64e0625b13 (patch)
treed063e1abd6b7b77d008a867c2af984ef6c0a64b5 /src
parent0144b45b71c0b78055b311fe3e7408fee71eb0c1 (diff)
downloadmusl-40305f74bd70a575ce73260227ed3b64e0625b13.tar.gz
musl-40305f74bd70a575ce73260227ed3b64e0625b13.tar.bz2
musl-40305f74bd70a575ce73260227ed3b64e0625b13.tar.xz
musl-40305f74bd70a575ce73260227ed3b64e0625b13.zip
in math.h make lgamma_r and non-double bessel _GNU_SOURCE only
long double and float bessel functions are no longer xsi extensions
Diffstat (limited to 'src')
-rw-r--r--src/math/lgamma.c1
-rw-r--r--src/math/lgammaf.c1
-rw-r--r--src/math/lgammal.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/math/lgamma.c b/src/math/lgamma.c
index d12462b9..9af7eee4 100644
--- a/src/math/lgamma.c
+++ b/src/math/lgamma.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include "libm.h"
double lgamma(double x)
diff --git a/src/math/lgammaf.c b/src/math/lgammaf.c
index f50f2379..aed98ba4 100644
--- a/src/math/lgammaf.c
+++ b/src/math/lgammaf.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include "libm.h"
float lgammaf(float x)
diff --git a/src/math/lgammal.c b/src/math/lgammal.c
index 603477c9..a33707ad 100644
--- a/src/math/lgammal.c
+++ b/src/math/lgammal.c
@@ -85,6 +85,7 @@
*
*/
+#define _GNU_SOURCE
#include "libm.h"
long double lgammal(long double x)