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

vapi/posix.vapi

index 8eb239fafea5c734ba56ca577f5345c0437a2aed..e944542c11913ddd647529f9a8642f2636064259 100644 (file)
@@ -534,9 +534,9 @@ namespace Posix {
        public double modf (double x, out double iptr);
        [CCode (cheader_filename = "math.h")]
        public float modff (float x, out float iptr);
-       [CCode (cheader_filename = "math.h")]
+       [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")]
        public double exp10 (double x);
-       [CCode (cheader_filename = "math.h")]
+       [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")]
        public float exp10f (float x);
        [CCode (cheader_filename = "math.h", feature_test_macro = "_GNU_SOURCE")]
        public double pow10 (double x);