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



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...





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