This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9717 - Fix "warning: "htobe16" redefined"
Attached to Project:
Rockbox
Opened by Akio Idehara (idak) - Friday, 26 December 2008, 23:34 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 24 January 2009, 11:17 GMT+2
Opened by Akio Idehara (idak) - Friday, 26 December 2008, 23:34 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 24 January 2009, 11:17 GMT+2
|
DetailsI think newer? SDL includes <endian.h>
(my fedora10's SDL version is 1.2.13), and simulator build log says like the following. --- warning: "htobe16" redefined --- http://build.rockbox.org/showlog.cgi?date=20081226T160730Z&type=iAudio%20M3%20-%20Simulator#prob1 --- This patch fix it. |
This task depends upon
Closed by Nils Wallménius (nls)
Saturday, 24 January 2009, 11:17 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed with funman's suggested change, thanks!
Saturday, 24 January 2009, 11:17 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed with funman's suggested change, thanks!
However I think sdl.h should be checked to see if some macro can prevent inclusion of endian.h
And if it doesn't defined, a lot of error is printed.
Michael what do you think ?