Skip to content

Commit 3905e98

Browse files
committed
VS2008
1 parent 02aedc3 commit 3905e98

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ using lslboost::int32_t;
2121
using lslboost::int64_t;
2222
using lslboost::uint8_t;
2323
using lslboost::uint16_t;
24+
#ifndef LSL_C_H
2425
using lslboost::uint32_t;
26+
#endif
2527
using lslboost::uint64_t;
2628
#define __func__ "An unknown function"
2729
#endif

0 commit comments

Comments
 (0)