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

vapi/glib-2.0.vapi

index e6732c50c773e1f6e8521391ec3526937ba53adb..56f847e71f875af1bca61b66b1a150ac534a3c66 100644 (file)
@@ -1575,7 +1575,9 @@ namespace GLib {
                public static float modff (float x, out float iptr);
                public static double exp10 (double x);
                public static float exp10f (float x);
+               [CCode (feature_test_macro = "_GNU_SOURCE")]
                public static double pow10 (double x);
+               [CCode (feature_test_macro = "_GNU_SOURCE")]
                public static float pow10f (float x);
                public static double expm1 (double x);
                public static float expm1f (float x);