Hello,

Le mercredi 6 février 2013, Olivier Duchateau a écrit :

> Hi,
>
> I wonder, if it exists preprocessors in Vala, or if it exists macro like
> GLIB_CHECK_VERSION, but known by valac ?
>
> I don't find any responses.
>

There are macros named GLIB_2_XX defined if glib version (as passed to
--target-glib option to the compiler) is greater than 2.XX. You can use
them for conditional compilation.

HTH,
Abderrahim
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to