From: Dr. Michael Lauer Date: Mon, 26 Feb 2018 16:02:36 +0000 (+0100) Subject: posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3) X-Git-Tag: 0.39.92~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e75565a46866fe9db548c57365715e9129cfca9d;p=thirdparty%2Fvala.git posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3) https://bugzilla.gnome.org/show_bug.cgi?id=614788 --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 9ea15edf1..8eb239faf 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -538,9 +538,9 @@ namespace Posix { public double exp10 (double x); [CCode (cheader_filename = "math.h")] public float exp10f (float x); - [CCode (cheader_filename = "math.h")] + [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")] public double pow10 (double x); - [CCode (cheader_filename = "math.h")] + [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")] public float pow10f (float x); [CCode (cheader_filename = "math.h")] public double expm1 (double x);