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 <[email protected]>
This commit is contained in:
John Horigan
2017-03-08 15:01:41 -05:00
committed by Augustin Cavalier
parent 3c69a2e24d
commit 2651cf9b02
+2
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,