This breaks compilation on anything but Linux, BSD/FreeBSD, Mac OSX, Sun, SysV R4. I deleted it to build for Windows.
Did you mean to put this below all other OS definitions, and using a condition that excludes every OS that has its own definition and implementation?