Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3696] MACOSX set?

Date2003-12-07 17:59
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:3696] MACOSX set?
I could not find where MACOSX is set in config.h or any similar
place.  Is that not done yet?
==John ffitch

Date2003-12-07 23:15
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3702] Re: MACOSX set?
jpff@codemist.co.uk writes:

> I could not find where MACOSX is set in config.h or any similar
> place.  Is that not done yet?
> ==John ffitch

csound/autoheader.h contains:

#if defined DARWIN
#define macintosh 1
#define OSX 1
#endif

Should it also define MACOSX too?

John

Date2003-12-08 04:36
FromJohn ffitch
Subject[CSOUND-DEV:3706] Re: MACOSX set?
The sources contain (and have done for a long time) the macro MACOSX.  It 
is arguable that it should be using __MACH__ but it should be consistent.  
I also note that there is NO instance of OSX as a macro in the sources.
==John ff

Date2003-12-08 09:21
From"Matt J. Ingalls"
Subject[CSOUND-DEV:3710] Re: MACOSX set?
i would say use __MACH__ only.   [as osx can technically be CFM or
Mach-o]

-m

On Mon, 8 Dec 2003, John ffitch wrote:

> The sources contain (and have done for a long time) the macro MACOSX.  It
> is arguable that it should be using __MACH__ but it should be consistent.
> I also note that there is NO instance of OSX as a macro in the sources.
> ==John ff
>
>

Date2003-12-08 11:49
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3713] Re: MACOSX set?
John ffitch  writes:

> The sources contain (and have done for a long time) the macro MACOSX.  It 
> is arguable that it should be using __MACH__ but it should be consistent.  
> I also note that there is NO instance of OSX as a macro in the sources.
> ==John ff

As requested, I updated csound/autoheader.h as follows:

#if defined DARWIN
#define MACOSX 1
#endif

I don't know where OSX came from.  I must have had a finger fumble
when writing autoheader.h.  Thanks for pointing this out.

John