Skip to content

Commit 2bab0e0

Browse files
authored
[libc][NFC] Swap ifdef logic for UInt128 (#75160)
1 parent 696cc20 commit 2bab0e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libc/src/__support/UInt128.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
#include "UInt.h"
1313

14-
#if !defined(__SIZEOF_INT128__)
15-
using UInt128 = LIBC_NAMESPACE::cpp::UInt<128>;
16-
using Int128 = LIBC_NAMESPACE::cpp::Int<128>;
17-
#else
14+
#if defined(__SIZEOF_INT128__)
1815
using UInt128 = __uint128_t;
1916
using Int128 = __int128_t;
17+
#else
18+
using UInt128 = LIBC_NAMESPACE::cpp::UInt<128>;
19+
using Int128 = LIBC_NAMESPACE::cpp::Int<128>;
2020
#endif
2121

2222
#endif // LLVM_LIBC_SRC___SUPPORT_UINT128_H

0 commit comments

Comments
 (0)