Sort out quad_t related macros
This commit is contained in:
parent
fc50b2eae5
commit
75f60e5a46
Notes:
git
2021-07-22 15:42:03 +09:00
@ -974,14 +974,12 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
|
|||||||
#undef ferror
|
#undef ferror
|
||||||
#undef clearerr
|
#undef clearerr
|
||||||
#undef fileno
|
#undef fileno
|
||||||
#if SIZEOF_LONG < SIZEOF_VOIDP
|
#if SIZEOF_LONG < SIZEOF_LONG_LONG
|
||||||
# if SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
# if SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
||||||
# define _HAVE_SANE_QUAD_
|
/* actually this doesn't mean a pointer is strictly 64bit, but just
|
||||||
|
* quad_t size */
|
||||||
# define _HAVE_LLP64_
|
# define _HAVE_LLP64_
|
||||||
# define quad_t LONG_LONG
|
|
||||||
# define u_quad_t unsigned LONG_LONG
|
|
||||||
# endif
|
# endif
|
||||||
#elif SIZEOF_LONG != SIZEOF_LONG_LONG && SIZEOF_LONG_LONG == 8
|
|
||||||
# define _HAVE_SANE_QUAD_
|
# define _HAVE_SANE_QUAD_
|
||||||
# define quad_t LONG_LONG
|
# define quad_t LONG_LONG
|
||||||
# define u_quad_t unsigned LONG_LONG
|
# define u_quad_t unsigned LONG_LONG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user