Commit abb2c7ab by Joseph Myers Committed by Joseph Myers

c90-printf-2.c, [...]: Use __LONG_LONG_MAX__ instead of LLONG_MAX.

	* gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Use
	__LONG_LONG_MAX__ instead of LLONG_MAX.

From-SVN: r36843
parent 4831bc84
2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Use
__LONG_LONG_MAX__ instead of LLONG_MAX.
2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-scanf-2.c, gcc.dg/format-ext-2.c: Test ' and I
scanf flags.
* gcc.dg/format-ext-3.c: Test mutually exclusive pairs of strftime
......
......@@ -14,9 +14,9 @@ __extension__ typedef long long int llong;
should be used.
*/
#include <limits.h>
#if INT_MAX == LLONG_MAX
#if INT_MAX == __LONG_LONG_MAX__
typedef int intmax_t;
#elif LONG_MAX == LLONG_MAX
#elif LONG_MAX == __LONG_LONG_MAX__
typedef long intmax_t;
#else
__extension__ typedef long long intmax_t;
......
......@@ -14,9 +14,9 @@ __extension__ typedef long long int llong;
should be used.
*/
#include <limits.h>
#if INT_MAX == LLONG_MAX
#if INT_MAX == __LONG_LONG_MAX__
typedef int intmax_t;
#elif LONG_MAX == LLONG_MAX
#elif LONG_MAX == __LONG_LONG_MAX__
typedef long intmax_t;
#else
__extension__ typedef long long intmax_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment