actually some mac platform specific files are now pure C files