[haiku-development] Re: [haiku-development] src_libs_compat_freebsd_network_compat_sys_param.h.diff

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 28 May 2008 13:23:54 +0200 CEST

> Hi there,
>
> src_libs_compat_freebsd_network_compat_sys_param.h.diff:
> * removed from param.h the PAGE_SIZE definition since it exists
> in headers/posix/limits.h; this fixes several warnings of the type:
> src/libs/compat/freebsd_network/compat/sys/param.h:19: warning:
> `PAGE_SIZE' redefined
> headers/posix/limits.h:40: warning: this is the location of the
> previous
> definition

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 ?

François.

Other related posts: