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