postypes.h: Do not include <stdint.h>.

2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/postypes.h: Do not include <stdint.h>.

	* include/Makefile.am: Reorder.

From-SVN: r137505
This commit is contained in:
Paolo Carlini 2008-07-05 12:36:03 +00:00 committed by Paolo Carlini
parent ea31932d53
commit b49aadf8b6
3 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/postypes.h: Do not include <stdint.h>.
* include/Makefile.am: Reorder.
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).

View file

@ -54,8 +54,8 @@ std_headers = \
${std_srcdir}/ostream \
${std_srcdir}/queue \
${std_srcdir}/random \
${std_srcdir}/regex \
${std_srcdir}/ratio \
${std_srcdir}/regex \
${std_srcdir}/set \
${std_srcdir}/sstream \
${std_srcdir}/stack \

View file

@ -46,10 +46,6 @@
#include <cwchar> // For mbstate_t
#ifdef _GLIBCXX_HAVE_STDINT_H
#include <stdint.h> // For int64_t
#endif
_GLIBCXX_BEGIN_NAMESPACE(std)
// The types streamoff, streampos and wstreampos and the class
@ -68,7 +64,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
* was typedef long.
*/
#ifdef _GLIBCXX_HAVE_INT64_T
typedef int64_t streamoff;
# if (__CHAR_BIT__ * __SIZEOF_LONG__ == 64)
typedef long streamoff;
# else
typedef long long streamoff;
# endif
#else
typedef long long streamoff;
#endif