Merge pull request #15 from dushibaiyu/master
change cstdlib abs to cmath abs(float). in mingw 4.9.1 abs(in castlib…
This commit is contained in:
commit
d34acfd518
@ -1,4 +1,4 @@
|
|||||||
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
|
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
|
||||||
/*
|
/*
|
||||||
* Copyright 2010, 2012 ZXing authors All rights reserved.
|
* Copyright 2010, 2012 ZXing authors All rights reserved.
|
||||||
*
|
*
|
||||||
@ -21,11 +21,12 @@
|
|||||||
#include <zxing/NotFoundException.h>
|
#include <zxing/NotFoundException.h>
|
||||||
#include <zxing/common/Point.h>
|
#include <zxing/common/Point.h>
|
||||||
#include <algorithm> // vs12, std::min und std:max
|
#include <algorithm> // vs12, std::min und std:max
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
using std::map;
|
using std::map;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::abs;
|
//using std::abs;
|
||||||
using zxing::pdf417::detector::LinesSampler;
|
using zxing::pdf417::detector::LinesSampler;
|
||||||
using zxing::pdf417::decoder::BitMatrixParser;
|
using zxing::pdf417::decoder::BitMatrixParser;
|
||||||
using zxing::Ref;
|
using zxing::Ref;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user