File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ typedef unsigned long long uint64;
75
75
// We expand the API so that other languages (e.g. Java) can call into
76
76
// our C++ more easily. Only set if when the flag is not externally defined.
77
77
#if !defined(LIQUIDFUN_EXTERNAL_LANGUAGE_API )
78
- #if SWIG || LIQUIDFUN_UNIT_TESTS
78
+ #if defined( SWIG ) || defined( LIQUIDFUN_UNIT_TESTS )
79
79
#define LIQUIDFUN_EXTERNAL_LANGUAGE_API 1
80
80
#else
81
81
#define LIQUIDFUN_EXTERNAL_LANGUAGE_API 0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ static const uint32 yMask = ((1u << yTruncBits) - 1u) << yShift;
52
52
static const uint32 xMask = ~yMask;
53
53
static const uint32 relativeTagRight = 1u << xShift;
54
54
static const uint32 relativeTagBottomLeft = (uint32)((1 << yShift) +
55
- (- 1 << xShift));
55
+ (( ~uint32 ( 0 )) << xShift));
56
56
57
57
static const uint32 relativeTagBottomRight = (1u << yShift) + (1u << xShift);
58
58
Original file line number Diff line number Diff line change 23
23
#include < Box2D/Particle/b2Particle.h>
24
24
#include < Box2D/Dynamics/b2TimeStep.h>
25
25
26
- #if LIQUIDFUN_UNIT_TESTS
26
+ #ifdef LIQUIDFUN_UNIT_TESTS
27
27
#include < gtest/gtest.h>
28
28
#endif // LIQUIDFUN_UNIT_TESTS
29
29
You can’t perform that action at this time.
0 commit comments