Re: [Vala] Vala broken on non-gnu systems
- From: pancake <pancake youterm com>
- To: "Marco Trevisan (Treviño)" <mail 3v1n0 net>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Vala broken on non-gnu systems
- Date: Fri, 25 Mar 2011 01:51:33 +0100
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) <mail 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]