Skip to content

Commit 339a552

Browse files
committed
Extend clang's <limits.h> to define *LONG_LONG*_ macros for Android's bionic
1 parent 5d2f0ec commit 339a552

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/Headers/limits.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@
116116
#pragma poison that could be used to deprecate a macro - the code should just
117117
use LLONG_MAX and friends.
118118
*/
119-
#if (defined(__GNU_LIBRARY__) ? defined(__USE_GNU) : !defined(__STRICT_ANSI__)) || defined(__BIONIC__)
119+
#if (defined(__GNU_LIBRARY__) ? defined(__USE_GNU) \
120+
: !defined(__STRICT_ANSI__)) || \
121+
defined(__BIONIC__)
120122

121123
#undef LONG_LONG_MIN
122124
#undef LONG_LONG_MAX

0 commit comments

Comments
 (0)