[Flac-dev] need help with MSVC

Erik de Castro Lopo erikd-flac at mega-nerd.com
Mon Feb 12 22:47:55 PST 2007


Josh Coalson wrote:

> --- Erik de Castro Lopo <erikd-flac at mega-nerd.com> wrote:
> > Josh Coalson wrote:
> > > the closest thing I found was ntohl() which appears to be a 
> > > function call
> > 
> > Avoid that like the plague.
> 
> why so?  on linux/glibc it appears to map to just a nop or bswap
> builtin.

Omn some platforms it is an actual function call and on some platforms
it requires linking with network libs.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"A 'newbie', in Haskell, is someone who hasn't yet implemented a 
compiler. They've only written a monad tutorial."
-- From #haskell on freenode


More information about the Flac-dev mailing list