[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2
From: |
Paul Eggert |
Subject: |
Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2 |
Date: |
Sat, 21 Oct 2006 15:12:04 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ville Laurikari <address@hidden> writes:
> I don't have the time to try to understand the philosophy
> behind all this "let's replace system headers with our own funky
> versions" stuff.
Well, if we can't figure it out the "right" way, I guess
we'll just have to patch it the "wrong" way for now. Maybe
someone can do it "right" later, if this fix breaks some
other AIX builds (which it well may). I installed this:
2006-10-21 Paul Eggert <address@hidden>
* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
Problem reported by Perry Smith and Ville Laurikari.
--- lib/stdint_.h 11 Oct 2006 05:58:47 -0000 1.34
+++ lib/stdint_.h 21 Oct 2006 22:09:46 -0000
@@ -48,10 +48,11 @@
/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
+ AIX 5.2 <sys/types.h> isn't needed and causes troubles.
MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
relies on the system <stdint.h> definitions, so include
<sys/types.h> after @address@hidden */
-#if @HAVE_SYS_TYPES_H@
+#if @HAVE_SYS_TYPES_H@ && ! defined _AIX
# include <sys/types.h>
#endif
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, (continued)
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Perry Smith, 2006/10/17
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Paul Eggert, 2006/10/18
- Message not available
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Paul Eggert, 2006/10/18
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Perry Smith, 2006/10/18
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Paul Eggert, 2006/10/18
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Perry Smith, 2006/10/18
- Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Perry Smith, 2006/10/17
- mailing list attachments (was: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2), Bob Proulx, 2006/10/17
Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2, Ville Laurikari, 2006/10/21