Skip to content

Commit 148e09e

Browse files
committed
restore bitness macros
Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
1 parent 8ab18f3 commit 148e09e

File tree

1 file changed

+7
-0
lines changed
  • sensing/pointcloud_preprocessor/src/downsample_filter

1 file changed

+7
-0
lines changed

sensing/pointcloud_preprocessor/src/downsample_filter/robin_hood.h

+7
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ static Counts & counts()
123123
// mark unused members with this macro
124124
#define ROBIN_HOOD_UNUSED(identifier)
125125

126+
// bitness
127+
#if SIZE_MAX == UINT32_MAX
128+
#define ROBIN_HOOD_PRIVATE_DEFINITION_BITNESS() 32
129+
#else
130+
#define ROBIN_HOOD_PRIVATE_DEFINITION_BITNESS() 64
131+
#endif
132+
126133
// endianess
127134
#ifdef _MSC_VER
128135
#define ROBIN_HOOD_PRIVATE_DEFINITION_LITTLE_ENDIAN() 1

0 commit comments

Comments
 (0)