Feature test macros overhaul: limits.h

Simplify the C99 conditional, and use the internal macro for GNU extensions.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2016-03-14 16:25:18 -05:00
parent ec4fe40b23
commit 86a724b8c0
2 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ details. */
#define __LONG_LONG_MAX__ 9223372036854775807LL
#endif
#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__)
#if __GNU_VISIBLE
#undef LONG_LONG_MIN
#define LONG_LONG_MIN (-LONG_LONG_MAX-1)
#undef LONG_LONG_MAX