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

Diego Biurrun diego
Mon Aug 20 18:21:59 CEST 2007


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...

Diego




More information about the ffmpeg-devel mailing list