On 19 February 2011 18:08, Dan McGee <[email protected]> wrote: > On Sat, Feb 19, 2011 at 3:24 PM, Tavian Barnes > <[email protected]> wrote: >> On 19 February 2011 06:28, Nezmer <[email protected]> wrote: >>>> You can look at how x264 guys implemented this. Check out >>>> x264_cpu_num_processors() in common/cpu.c in their source tree. >> >> Seems to be basically a more platform-complete version of what I'm >> doing here [1]. But yeah, we'd need something like that if pacman is >> supposed to run on everything unix-based. I don't imagine we care >> much about Windows compatibility :) > > Take a look at git; it has plenty of code that has been tested for > doing this and it works just fine on Windows. > > -Dan > >
You mean git x264? That's what I was looking at, I just meant that we wouldn't have to include that part in pacman, considering the rest of the code doesn't look like it would build on Windows anyway. -- Tavian Barnes
