mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
fixed compilation for vs2008
This commit is contained in:
parent
d8600d3d13
commit
e154bce259
@ -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…
Reference in New Issue
Block a user