Actually sdl_net have those macros implemented in a platform indepedent way, so it's just a matter of using sdl_net's macros.. I'll fix it, but it's not a top priority right now...
Lodesi Le Samedi 27 Mai 2006 15:27, Victor Stinner a écrit : > Hi, > > I read action.cpp and i think that it need some fixes: > * gcc don't like ugly macros TO/FROM uint32 => why using "(Uint32 *)(&x)" > instead of "(UInt32)x" ? > * ntoh[sl] and hton[sl] are missing to be "endian aware" (network endian is > big endian whereas Intel/AMD endian is little endian) > > lodesi: can you fix that? > > Haypo > > _______________________________________________ > Wormux-dev mailing list > Wormux-dev@gna.org > https://mail.gna.org/listinfo/wormux-dev ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev