quote:Original post by Lektrix
Yes, that looks familiar, yet surely the#if
preprocessor directive would be something more like this?
#if _MSC_VER && _MSC_VER <= 1200
#if defined(_MSC_VER) && _MSC_VER <= 1200
Non-VC++ compilers probably won''t define
_MSC_VER
at all, so you might want to handle that case nicely.