fixed compilation for vs2008

This commit is contained in:
Anatoly Baksheev 2013-11-17 14:03:38 +04:00
parent d8600d3d13
commit e154bce259
3 changed files with 11 additions and 6 deletions

View File

@ -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;

View File

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

View File

@ -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