[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Conflict between glibc and Mach headers
From: |
Igor Khavkine |
Subject: |
Conflict between glibc and Mach headers |
Date: |
Mon, 2 Jul 2001 14:03:24 -0400 |
User-agent: |
Mutt/1.3.18i |
Glibc has a header which goes into /usr/include/mach_init.h
and Mach has a header which goes into /usr/include/mach/vm_param.h.
Both of them define the macros `round_page' and `trunc_page'. The
former in terms of the variable `__vm_page_size' and the latter
in terms of the constant macro `PAGE_SIZE'.
Was it intended for these headers not to be used together?
And why is there a variable for the page size, is it not a
constant which can be known at compile time?
Thanks.
Igor
- Conflict between glibc and Mach headers,
Igor Khavkine <=