Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug 1388 - Debian patch(es): endian-ness issues
manuel.montezelo@gmail.com 2012-01-20 12:26:38 PST 2) Second bug report: "SDLNet_(Read|Write)(16|32) assume host endianness is always LE" http://bugs.debian.org/217221 "When SDL_DATA_ALIGNED is defined, SDLNet_Read16 etc. are defined as byte-swapping macros. However, since network order is big endian, these macros should not swap anything on big endian systems. Patch attached." The accompanying patch "endian.patch" doesn't apply cleanly with 1.2.8 but it does with 1.2.7. In any case it's also easy to understand: it removes conditional execution of code (SDL_BYTEORDER != SDL_BIG_ENDIAN) and keeps only the (SDL_BYTEORDER == SDL_BIG_ENDIAN) version.
- Loading branch information
Showing
1 changed file
with
0 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters