This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
What is the purpose of __need_inttypes?
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Newlib <newlib at sourceware dot org>
- Date: Mon, 18 Apr 2016 10:10:49 +0200
- Subject: What is the purpose of __need_inttypes?
- Authentication-results: sourceware.org; auth=none
Hello,
what is the purpose of __need_inttypes? It is only defined by
"newlib/libc/machine/powerpc/machine/stdlib.h".
This commit messages
2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/types.h: Support __need_inttypes macro
that only sets the __intxx and __uintxx types.
* libc/machine/powerpc/Makefile.am: Add stdlib to include
directories
to get mprec.h.
* libc/machine/powerpc/Makefile.in: Regenerated.
* libc/machine/powerpc/vfprintf.c: Fix state variable type.
* libc/machine/powerpc/vfscanf.c: Fix state variable type.
Remove
redundant fixed-point conversion prototypes.
* libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include
<sys/types.h>
after setting __need_inttypes.
suggests that we should be able to get rid of __need_inttypes and simply
include <machine/_default_types.h>? However, no __intxx and __uintxx
types are used in this file.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.