On Tue, 14 Apr 2015 15:16:01 -0400 "Lennart Sorensen" <lsore...@csclub.uwaterloo.ca> wrote:
> On Tue, Apr 14, 2015 at 07:20:50PM +0100, Ben Avison wrote: > > On Tue, 14 Apr 2015 11:28:51 +0100, Pekka Paalanen <ppaala...@gmail.com> > > wrote: > > >you asked about reading the cache sizes; I have no idea about that. > > > > > >>+#define PAGE_SIZE (4 * 1024) > > > > > >Hm, sysconf(3) has PAGESIZE query, but I don't know if it is > > >appropriate here. I also tend to forget that Windows might be relevant > > >for Pixman. > > > > I see the front page of http://www.pixman.org/ says "many platforms, > > including Linux, BSD Derivatives, MacOS X, and Windows" so I expect it > > would be a requirement, yes. > > How about using GetSystemInfo on windows and sysconf on the other > platforms? > Maybe, but at least I can only test on Linux. I can't review the OS-specifics of a non glibc/linux system either. Which is why I tried to ask on IRC if anyone was running anything like a CI build bot for Pixman... Thanks, pq _______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman