diff options
| author | David 'Digit' Turner <digit@android.com> | 2012-09-13 17:14:00 +0200 |
|---|---|---|
| committer | David 'Digit' Turner <digit@android.com> | 2012-10-15 18:52:55 +0200 |
| commit | f8a2c51bf3b85bf86bff905dd1232299d333dafe (patch) | |
| tree | d80d0045d50a9c5c775dbfb574f0635520ab104c /libc/bionic/ThreadLocalBuffer.h | |
| parent | fcf901d5c0924a71a1405a2535051663281da048 (diff) | |
| download | bionic-f8a2c51bf3b85bf86bff905dd1232299d333dafe.zip bionic-f8a2c51bf3b85bf86bff905dd1232299d333dafe.tar.gz bionic-f8a2c51bf3b85bf86bff905dd1232299d333dafe.tar.bz2 | |
LONG_LONG_MIN/MAX: Move declarations to <limits.h>
LONG_LONG_MIN, LONG_LONG_MAX and ULONG_LONG_MAX are
GLibc-specific macros that are better defined in <limits.h>
instead of the current exotic location (<pthread.h>).
Note that GCC's <limits.h> only defines these macros
when __GNU_LIBRARY__ is also defined. This is only the
case when building against GLibc, so manually redefine
the macros here.
Note that using LLONG_MIN/LLONG_MAX/ULLONG_MAX is the
C99-compliant way to get these values, but it's easier
to define these compatibility macros for the sake of
porting existing code.
Change-Id: I8023918d73b4685238054932f94a4006c1ca7d03
Diffstat (limited to 'libc/bionic/ThreadLocalBuffer.h')
0 files changed, 0 insertions, 0 deletions
