Hi,
ptlib does not use QuickTimeComponents.h but my application does.
Now #undef nil could be a easy "workaround", but some harmless name refactoring could avoid the "workaround" in place of a possible solution that leads to a less error prone compilation.
if you include before an include to ptlib.h compilation fails because in some mac header
is defined "nil". (maybe something like MacTypes.h).
this patch rename all "nil" variables as pnil to allow compilation.
Beside if you include after ptlib.h other compilations errors appear. (i've not investigated)