[linux-audio-dev] defining a platform

Sean Bolton musound at jps.net
Sat Dec 24 15:17:58 UTC 2005


Hi Derek,

On Dec 24, 2005, at 3:08 AM, derek holzer wrote:
> I hope this is a simple question. I'm trying to compile Rezound on 
> OSX, and I'm getting this:
>
> ../../../config/platform/platform.h:10:3: warning: #warning no 
> platform determined!

<snip>

> #if defined(__Darwin)
>         #define rez_OS_DARWIN
> #endif

Instead, try:

#if (defined(__MACH__) && defined(__APPLE__))
     ....

HTH,

-Sean




More information about the Linux-audio-dev mailing list