Merge pull request #1253 from kamjagin:fixingCompilationOnOSX

This commit is contained in:
Roman Donchenko
2013-08-15 11:54:54 +04:00
committed by OpenCV Buildbot
2 changed files with 4 additions and 8 deletions

View File

@@ -201,8 +201,10 @@
#if !defined _MSC_VER && !defined __BORLANDC__
# if defined __cplusplus && __cplusplus >= 201103L
# include <cstdint>
typedef std::uint32_t uint;
# else
# include <stdint.h>
typedef uint32_t uint;
# endif
#else
typedef unsigned uint;