Those defines should be defined by vala internally? All systems can be identified by __linux__ __FreeBSD__ ... do you think this should be defined by vala? Autoconf is imho not the right place for this.
On 23/03/2011, at 12:41, Marco Trevisan (Treviño) <m...@3v1n0.net> wrote: > Il giorno mer, 16/03/2011 alle 14.05 +0100, pancake ha scritto: >> /* Result of the benchmark: >> $ time ./a.out 1 >> >> real 0m0.225s >> user 0m0.223s >> sys 0m0.000s >> $ time ./a.out 0 >> >> real 0m0.380s >> user 0m0.377s >> sys 0m0.000s >> */ > > Well, since the difference seems sensible, it would be better if valac > would export something like HAVE_POSIX when possible (or > HAVE_{LINUX,BSD,WIN} ... ) and use them in VAPIs (and in vala files). > I guess this would allow some code optinizations without a build > system... > > > _______________________________________________ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list