* @APPLE_LICENSE_HEADER_END@
*/
#ifndef _BSD_MACHINE_CPU_H_
#define _BSD_MACHINE_CPU_H_
#if defined (__ppc__)
#include "ppc/cpu.h"
#elif defined (__i386__)
#include "i386/cpu.h"
#else
#error architecture not supported
#endif
#endif /* _BSD_MACHINE_CPU_H_ */
as you can see it is a stub so you might be able to write one out and add it to the build.
/usr/include/i386/cpu.h
* @APPLE_LICENSE_HEADER_END@
*/
/*
* HISTORY
*
*/
#ifndef _BSD_I386_CPU_H_
#define _BSD_I386_CPU_H_
#include <sys/appleapiopts.h>
#ifdef __APPLE_API_OBSOLETE
#define cpu_number() (0)
#endif /* __APPLE_API_OBSOLETE */
#endif /* _BSD_I386_CPU_H_ */
hope anything helps, you might want to write one
thanx,
bill