Skip to content

Commit

Permalink
h8300: 64bit integer support
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  • Loading branch information
ysat0 authored and aldot committed May 26, 2015
1 parent 7a8856c commit 62775f4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/stdint.h
Expand Up @@ -238,23 +238,13 @@ typedef unsigned long long int uintmax_t;
# endif


#if !defined(__H8300H__) && !defined(__H8300S__)
/* Minimum for largest signed integral type. */
# define INTMAX_MIN (-__INT64_C(9223372036854775807)-1)
/* Maximum for largest signed integral type. */
# define INTMAX_MAX (__INT64_C(9223372036854775807))

/* Maximum for largest unsigned integral type. */
# define UINTMAX_MAX (__UINT64_C(18446744073709551615))
#else
/* Minimum for largest signed integral type. */
# define INTMAX_MIN (-LONG_LONG_MAX-1)
/* Maximum for largest signed integral type. */
# define INTMAX_MAX (LONG_LONG_MAX)

/* Maximum for largest unsigned integral type. */
# define UINTMAX_MAX (LONG_LONG_MAX<<1+1)
#endif

/* Limits of other integer types. */

Expand Down

0 comments on commit 62775f4

Please sign in to comment.