Found these two: subversion/libsvn_subr/cache_config.c:#ifdef APR_HAS_THREADS subversion/svnserve/main.c:#ifdef APR_HAS_THREADS
(which should use #if, not #ifdef) I don't have time to audit the entire tree --- I checked only these two libraries and this one macro, not all source files and all macros.