]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: add feature test macro _GNU_SOURCE for pow10(3) and pow10f(3)
authorDr. Michael Lauer <mickey@vanille-media.de>
Mon, 26 Feb 2018 16:02:36 +0000 (17:02 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 26 Feb 2018 19:39:15 +0000 (20:39 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=614788

vapi/posix.vapi

index 9ea15edf10ca72be6a74c6fd4a62f18e14138405..8eb239fafea5c734ba56ca577f5345c0437a2aed 100644 (file)
@@ -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);