Visual Studio headers now define some constants that I had to define
locally, so put a compiler switch to define them only for older compilers.
Authored by: andy_rushton 2010-07-29
Parent: [r395]
Child: [r397]