mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-21 14:41:58 +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:
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user