Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 19:25:42 +0100
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-ppc@freebsd.org
Subject:   Re: /usr/ports/devel/icu does not compile
In-Reply-To: <CAFX4DrYP0qV5wHCL2RAbdyt2irB6aiQOF269Lx82ofiMxLqEnQ@mail.gmail.com>
References:  <CAFX4DrbFucTEPVt4XWnB%2BLEgwc6pfOrYVqz1MkeKcNzLjz=kAQ@mail.gmail.com> <20131120122336.0553e1fd@puffo.bilink.net> <CAFX4DrZn27Ne2N5tOB9LzghCyheBV1uHMkEbdHGci6Cja1VJ-g@mail.gmail.com> <528CCBD0.3080900@freebsd.org> <CAFX4DrYP0qV5wHCL2RAbdyt2irB6aiQOF269Lx82ofiMxLqEnQ@mail.gmail.com>

| previous in thread | raw e-mail | index | archive | help
On Wed, 20 Nov 2013 15:59:23 +0100
Frank Pfabigan <frank.pfabigan@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@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>