diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 03:42:11 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 03:42:11 +0000 |
commit | ec411999a0262c8e3e6be53ae11ad761776a2fc1 (patch) | |
tree | f3544c743f39bbbe63afe7ee3cf07daf40c6fa0e /src/math/scalb.c | |
parent | 8708e137d68480f4b996bfec2cd2ca596f1105d7 (diff) | |
download | musl-ec411999a0262c8e3e6be53ae11ad761776a2fc1.tar.gz musl-ec411999a0262c8e3e6be53ae11ad761776a2fc1.tar.xz musl-ec411999a0262c8e3e6be53ae11ad761776a2fc1.zip |
math: define _GNU_SOURCE when implementing non-standard math functions
this makes the prototypes in math.h are visible so they are checked agaist the function definitions
Diffstat (limited to 'src/math/scalb.c')
-rw-r--r-- | src/math/scalb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/scalb.c b/src/math/scalb.c index a54bdf2b..efe69e60 100644 --- a/src/math/scalb.c +++ b/src/math/scalb.c @@ -15,6 +15,7 @@ * should use scalbn() instead. */ +#define _GNU_SOURCE #include <math.h> double scalb(double x, double fn) |