> "François Revol" <revol@xxxxxxx> wrote: > > I added it to limits.h, as it's supposed to be available there, but > > it > > should really be arch-dependant, and set from B_PAGE_SIZE, so from > > another include, but I'm not sure we are allowed to include OS.h > > from > > there. > > Ingo ? > > B_PAGE_SIZE should be defined in some arch header as well, actually. > And no, we don't want to mix POSIX with our headers too much. Be used things like posix/be_errors.h and friends in Dano to have common stuff that are included in both posix and native headers... That still doesn't handle the arch specific stuff. Linux has headers including stuff from asm/ We can have ifdefs in a global header, that would lower the number of files. François.