APPLE_COMPILE_HACK was added to WebCore+SVG in order to remove certain sections of kdom/ksvg2/ kcanvas which I was not ready to implement at that time. All of these blocks need to be slowly removed and fixed to work with kwq (converted into APPLE_CHANGES blocks, or kwq fixed).
Most of these are gone now that KDOM is removed.
These are all gone since the dom merger.