]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Bump implicit target-glib to 2.48 f9bae0ef16c4c39ee0fbf4c1d67d57e62347b543
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 Mar 2019 21:54:07 +0000 (22:54 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 Mar 2019 21:59:34 +0000 (22:59 +0100)
Missing in 1229ead2f945d913b3264f898f363aa4bf46f217

See https://gitlab.gnome.org/GNOME/vala/issues/671

tests/parser/preprocessor-glib.vala
vala/valacodecontext.vala

index ee44f452e09bdc94848d76c4a635b43cb4a9e214..effc2ecd2c5f634502612d1fa49cf10c35539689 100644 (file)
@@ -27,6 +27,14 @@ void main () {
        assert_not_reached ();
 #elif !GLIB_2_40
        assert_not_reached ();
+#elif !GLIB_2_42
+       assert_not_reached ();
+#elif !GLIB_2_44
+       assert_not_reached ();
+#elif !GLIB_2_46
+       assert_not_reached ();
+#elif !GLIB_2_48
+       assert_not_reached ();
 #else
        assert (true);
 #endif
index 42e6dabb2ca1e4cc3a1c40a08b3e88bf9c3af685..35f27893883e78acfb56943efd93fcf9692e319c 100644 (file)
@@ -560,7 +560,7 @@ public class Vala.CodeContext {
                }
 
                target_glib_major = 2;
-               target_glib_minor = 40;
+               target_glib_minor = 48;
 
                for (int i = 16; i <= target_glib_minor; i += 2) {
                        defines.add ("GLIB_2_%d".printf (i));