[PD-dev] powf, sinf, etc. on Mac OS X

Hans-Christoph Steiner hans at eds.org
Sat Jan 28 17:40:07 CET 2006


On Jan 28, 2006, at 10:39 AM, Tim Blechmann wrote:

>> #if defined(MSW) || ( defined(__APPLE__) && !defined(HAVE_LIBMX) )
>
> not sure, but is there any definition, that's set if the compiler
> supports c99?

(From  
http://publib.boulder.ibm.com/infocenter/macxhelp/index.jsp?topic=/ 
com.ibm.vacpp6m.doc/language/ref/clrc09cplr367.htm )

__STDC__
     For C, the integer 1 (one) indicates that the C compiler supports  
the ISO standard. (When a macro is undefined, it behaves as if it had  
the integer value 0 when used in a #if statement.)

  __STDC_VERSION__
     The integer constant of type long int: 199409L for the C89 language  
level, 199901L for C99.

The question is whether gcc 3.3 on Mac OS X changes this based on libmx  
presence.

.hc
________________________________________________________________________ 
____

Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.
Now that he can realize them, he must either change them, or perish.
		                                                -William Carlos  
Williams





More information about the Pd-dev mailing list