Skip to content

Commit de09979

Browse files
committed
VS2008
1 parent 02aedc3 commit de09979

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/lsl_c.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44
#if defined(LIBLSL_FFI)
55
// Skip any typedefs that might confuse a FFI header parser, e.g. cffi
66
#elif defined(_MSC_VER) && _MSC_VER < 1600
7-
#if !defined(__STDC_CONSTANT_MACROS) && !defined(BOOST_CSTDINT_HPP)
87
typedef signed char int8_t;
98
typedef signed short int16_t;
10-
typedef unsigned short uint16_t;
119
typedef signed int int32_t;
1210
typedef signed long long int64_t;
1311
typedef unsigned int uint32_t;
1412
typedef unsigned long long uint64_t;
15-
#endif
1613
#else
1714
#include <stdint.h>
1815
#endif

src/common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
#include <boost/cstdint.hpp>
1818
using lslboost::int8_t;
1919
using lslboost::int16_t;
20+
using lslboost::uint16_t;
2021
using lslboost::int32_t;
2122
using lslboost::int64_t;
2223
using lslboost::uint8_t;
2324
using lslboost::uint16_t;
25+
#ifndef LSL_C_H
2426
using lslboost::uint32_t;
27+
#endif
2528
using lslboost::uint64_t;
2629
#define __func__ "An unknown function"
2730
#endif

0 commit comments

Comments
 (0)