fixed compilation for vs2008

pull/1811/head
Anatoly Baksheev 12 years ago
parent d8600d3d13
commit e154bce259
  1. 10
      modules/objdetect/src/erfilter.cpp
  2. 3
      modules/photo/test/test_hdr.cpp
  3. 4
      modules/photo/test/test_precomp.hpp

@ -43,9 +43,13 @@
#include "precomp.hpp"
#include <fstream>
#ifndef INT32_MAX
#define __STDC_LIMIT_MACROS
#include <stdint.h>
#if defined _MSC_VER && _MSC_VER == 1500
typedef int int_fast32_t;
#else
#ifndef INT32_MAX
#define __STDC_LIMIT_MACROS
#include <stdint.h>
#endif
#endif
using namespace std;

@ -40,9 +40,6 @@
//M*/
#include "test_precomp.hpp"
#include <string>
#include <algorithm>
#include <fstream>
using namespace cv;
using namespace std;

@ -13,5 +13,9 @@
#include "opencv2/ts.hpp"
#include "opencv2/photo.hpp"
#include "opencv2/highgui.hpp"
#include <string>
#include <algorithm>
#include <fstream>
#include <ctime>
#endif

Loading…
Cancel
Save