]>
Commit | Line | Data |
---|---|---|
98716d5d JR |
1 | --- opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h~ 2018-02-23 09:38:33.000000000 +0100 |
2 | +++ opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h 2018-04-27 22:17:38.423275013 +0200 | |
3 | @@ -480,7 +480,7 @@ | |
4 | using std::int64_t; | |
5 | using std::uint64_t; | |
6 | } | |
7 | -#else | |
8 | +#elif __cplusplus | |
9 | #include <stdint.h> | |
10 | namespace cv { | |
11 | typedef ::int8_t int8_t; | |
12 | @@ -492,6 +492,16 @@ | |
13 | typedef ::int64_t int64_t; | |
14 | typedef ::uint64_t uint64_t; | |
15 | } | |
16 | +#else | |
17 | +#include <stdint.h> | |
18 | +typedef int8_t int8_t; | |
19 | +typedef uint8_t uint8_t; | |
20 | +typedef int16_t int16_t; | |
21 | +typedef uint16_t uint16_t; | |
22 | +typedef int32_t int32_t; | |
23 | +typedef uint32_t uint32_t; | |
24 | +typedef int64_t int64_t; | |
25 | +typedef uint64_t uint64_t; | |
26 | #endif | |
27 | #endif | |
28 |