[FFmpeg-devel] __DARWIN__ vs. CONFIG_DARWIN vs. __SYS_DARWIN__

Måns Rullgård mans
Mon Aug 20 18:42:47 CEST 2007

Diego Biurrun wrote:
> I wondered why we manually set CONFIG_DARWIN in configure.  So it seems
> that on OS X, __DARWIN__ is not defined, but __APPLE__ is.
> In any case CONFIG_DARWIN is not a good name, since this is not
> configurable.  I propose SYS_DARWIN instead, unless somebody has some
> clever idea how to use __DARWIN__ or __APPLE__ directly...

What is the output of

gcc -dM -E -x c /dev/null | sort

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list