Re: [Vala] Vala broken on non-gnu systems

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

vala-list mailing list
vala-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]