On Thu, Jul 24, 2003 at 12:29:15PM +0200, plumber wrote:
> >
>
>
> yep but apple is not define in my header
>
> thanks
gcc defines it at compile time. So, a simple program like:
#include
int
main() {
#ifdef __APPLE__
printf("__APPLE__ defined\n");
#else
printf("__APPLE__ not
On Thu, Jul 24, 2003 at 04:50:35AM +0200, almisr wrote:
> in /usr/include/ppc/param.h
>
> line 98
>
> #define btodb(bytes)/***plumber***? takes two flags no
> ->, devBlockSize**/ /* calculates (bytes / DEV_BSIZE) */
>
> it should be btodb(bytes, devBlockSize)
>
> ((
in /usr/include/ppc/param.h
line 98
#define btodb(bytes) /***plumber***? takes two flags no ->,
devBlockSize**/ /* calculates (bytes / DEV_BSIZE) */
it should be btodb(bytes, devBlockSize)
((unsigned)(bytes) >> DEV_BSHIFT)
#define dbtob(db) /***plumber***? takes two flags no ->,
devB