Only create VS6 bugfix routine if we are running VS6 and actually use it, this is to prevent an annoying warning about unused code

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
John Horigan 2013-04-03 22:54:07 +00:00 committed by Augustin Cavalier
parent 3c69a2e24d
commit 2651cf9b02

View File

@ -252,8 +252,10 @@ namespace agg
return m_scale;
}
#if defined(_MSC_VER) && _MSC_VER <= 1200
//------------------------------------------------------------------------
static double MSC60_fix_ICE(double v) { return v; }
#endif
//------------------------------------------------------------------------
void curve4_inc::init(double x1, double y1,