Re: [linux-audio-dev] defining a platform

From: Sean Bolton <musound@email-addr-hidden>
Date: Sat Dec 24 2005 - 17:17:58 EET

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
Received on Sat Dec 24 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Sat Dec 24 2005 - 20:15:05 EET