+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).
#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
* 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