[openbeos] Re: suggestions: iconv.h, libiconv, and iconv

  • From: "Andrew Bachmann" <shatty@xxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 01 Aug 2003 18:11:20 -0700 PDT

On Sat, 02 Aug 2003 02:59:13 +0200 CEST "Axel Dörfler" 
<axeld@xxxxxxxxxxxxxxxx> wrote:
> Just had a look at BeOS' stat.h - it doesn't include OS.h but <sys/
> types.h> which is the better solution, I think.
> Dunno why someone (presumably me) have included OS.h here, but maybe I 
> had a reason - I don't see one anymore, though :)
> 
> Adios...
>    Axel.

Here it shows that sys/types.h was already included in the OBOS version,
and that's worked just fine.  The major problem I have hit so far is that
sys/socket.h uses the be-style "uint32", "uint8", etc., everywhere.  I was
wondering if we should do one of these three:

1. include SupportDefs.h in sys/socket.h 
2. include stdint.h in sys/socket.h and use those variants (uint32_t) in 
sys/socket.h
3. include stdint.h in sys/socket.h and define be-style shortcuts in stdint.h

I think I lean towards #2.

Andrew


Other related posts: