From ec411999a0262c8e3e6be53ae11ad761776a2fc1 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 12 Dec 2013 03:42:11 +0000 Subject: 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 --- src/math/sincos.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/sincos.c') diff --git a/src/math/sincos.c b/src/math/sincos.c index 49f8a098..35b2d923 100644 --- a/src/math/sincos.c +++ b/src/math/sincos.c @@ -10,6 +10,7 @@ * ==================================================== */ +#define _GNU_SOURCE #include "libm.h" void sincos(double x, double *sin, double *cos) -- cgit v1.2.1