/usr/ports/devel/icu does not compile

Luciano Mannucci luciano at vespaperitivo.it
Wed Nov 20 18:25:46 UTC 2013


On Wed, 20 Nov 2013 15:59:23 +0100
Frank Pfabigan <frank.pfabigan at gmail.com> wrote:

> /usr/include/stdint.h:68:68: error: missing binary operator before token "("
Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs.
I've modified mine by commenting out the offending lines and adding a
#define __WORDSIZE 32
which, of course, is correct on my machine (and yours too I presume :).
The End of my stdint.h looks like that now:

/* GNU and Darwin define this and people seem to think it's portable @/
#if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
#define	__WORDSIZE		64
#else
#define	__WORDSIZE		32
#endif
*/

#define	__WORDSIZE		32

#endif /* !_SYS_STDINT_H_ */

-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-ppc mailing list