Re: [Vala] Check conditionals versions of Vala
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Olivier Duchateau <duchateau olivier gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Check conditionals versions of Vala
- Date: Fri, 8 Feb 2013 19:06:39 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]