_S happens to be a bad variable name for android

This commit is contained in:
Ethan Rublee
2010-10-09 02:15:08 +00:00
parent ef6a79244d
commit 244a537d54
4 changed files with 11 additions and 1 deletions

View File

@@ -46,6 +46,8 @@
using namespace cv;
using namespace std;
//for android ndk
#undef _S
static inline Point2f applyHomography( const Mat_<double>& H, const Point2f& pt )
{
double z = H(2,0)*pt.x + H(2,1)*pt.y + H(2,2);