1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 23:01:45 +08:00

Merge pull request #146 from Dikay900/fix_vs2010_and_pre_compilation_line_descriptor_module

fix issue for vs versions which aren't standarized for the c99 standard
This commit is contained in:
Vadim Pisarevsky
2015-04-03 14:17:35 +03:00
2 changed files with 10 additions and 0 deletions

View File

@@ -45,7 +45,13 @@
#include <map> #include <map>
#include <vector> #include <vector>
#include <list> #include <list>
#if defined _MSC_VER && _MSC_VER <= 1700
#include <stdint.h>
#else
#include <inttypes.h> #include <inttypes.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <iostream> #include <iostream>

View File

@@ -40,7 +40,11 @@
// //
//M*/ //M*/
#if defined _MSC_VER && _MSC_VER <= 1700
#include <stdint.h>
#else
#include <inttypes.h> #include <inttypes.h>
#endif
#ifndef __OPENCV_TYPES_HPP #ifndef __OPENCV_TYPES_HPP
#define __OPENCV_TYPES_HPP #define __OPENCV_TYPES_HPP