Skip to content

Commit c9f13d0

Browse files
committed
Fix compile error on old gcc
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
1 parent e35a8cb commit c9f13d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

third_party/int128/int128.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ namespace large_int {
5656
class alignas(sizeof(_Hi) * 2) int128_base final {
5757
static_assert(sizeof(_Hi) == sizeof(_Low), "low type, high type should have same size");
5858

59+
#if defined(__GNUC__) && __GNUC__ <= 6
60+
public:
61+
#endif
62+
5963
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
6064
_Low low_{};
6165
_Hi high_{};

0 commit comments

Comments
 (0)