]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: 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:39 +0000 (17:11 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 26 Feb 2018 19:39:18 +0000 (20:39 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=614788

vapi/glib-2.0.vapi

index 56f847e71f875af1bca61b66b1a150ac534a3c66..82785747e300cd27b97621166f9ca92a89d80550 100644 (file)
@@ -1573,7 +1573,9 @@ namespace GLib {
                public static float log10f (float x);
                public static double modf (double x, out double iptr);
                public static float modff (float x, out float iptr);
+               [CCode (feature_test_macro = "_GNU_SOURCE")]
                public static double exp10 (double x);
+               [CCode (feature_test_macro = "_GNU_SOURCE")]
                public static float exp10f (float x);
                [CCode (feature_test_macro = "_GNU_SOURCE")]
                public static double pow10 (double x);