Skip to content

Commit 9ce5347

Browse files
hdu-sdlzxserge-sans-paille
authored andcommitted
fix build for old compilers (#1323)
Signed-off-by: Liu Zixian <zixian.liu@dolphindb.com>
1 parent 0b97964 commit 9ce5347

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/xsimd/arch/common/xsimd_common_bit.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#ifndef XSIMD_BIT_HPP
66
#define XSIMD_BIT_HPP
77

8+
#if __cplusplus > 202002L
9+
810
#include <version>
911

1012
#if __cpp_lib_bitops >= 201907L
@@ -23,6 +25,8 @@ namespace xsimd
2325
}
2426
}
2527

28+
#endif
29+
2630
#else
2731

2832
#include <climits>

0 commit comments

Comments
 (0)