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
This commit is contained in:
Szabolcs Nagy
2013-12-12 03:42:11 +00:00
parent 8708e137d6
commit ec411999a0
6 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@
* ====================================================
*/
#define _GNU_SOURCE
#include "libm.h"
/* Small multiples of pi/2 rounded to double precision. */