We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1096c42 commit 4f00ea9Copy full SHA for 4f00ea9
src/libcxx/include/cinttypes
@@ -12,10 +12,12 @@ namespace std {
12
using ::imaxdiv_t;
13
14
using ::imaxabs;
15
-inline constexpr intmax_t abs(intmax_t __x) { return imaxabs(__x); }
16
-
17
using ::imaxdiv;
+
+#if __INTMAX_WIDTH__ > __LLONG_WIDTH__
18
+inline constexpr intmax_t abs(intmax_t __x) { return imaxabs(__x); }
19
inline constexpr imaxdiv_t div(intmax_t __x, intmax_t __y) { return imaxdiv(__x, __y); }
20
+#endif // __INTMAX_WIDTH__ > __LLONG_WIDTH__
21
22
} // namespace std
23
0 commit comments