for mac osx

openjaguar <[email protected]> Sat, 26 Jul 2003 20:15:16 +0200
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>
little trouble with define apple in param.h

the makefile doesn't respect it

so there are an error of macro cause of one parameter missing


/usr/include/ppc/param.h


#ifdef __APPLE__
#define  btodb(bytes, devBlockSize)         \
         ((unsigned)(bytes) / devBlockSize)
#define  dbtob(db, devBlockSize)            \
              ((unsigned)(db) * devBlockSize)
#else
#define	btodb(bytes)	 	/***plumber***? , devBlockSize******/	/* 
calculates (bytes / DEV_BSIZE) */ \
	((unsigned)(bytes) >> DEV_BSHIFT)
#define	dbtob(db)		/***plumber***? , devBlockSize******/	/* calculates 
(db * DEV_BSIZE) */ \
	((unsigned)(db) << DEV_BSHIFT)
#endif