Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32...
commitb1eb636e809b1e3717373e81acd5f9865d22e1f8
authordave <dave@a1c6a512-1295-4272-9138-f99709370657>
Tue, 4 Aug 2009 20:03:17 +0000 (4 20:03 +0000)
committerdave <dave@a1c6a512-1295-4272-9138-f99709370657>
Tue, 4 Aug 2009 20:03:17 +0000 (4 20:03 +0000)
tree25c77b0373bd8b42c8f85409e599c2ef20a6a2a6
parent724d16aa614d560ef12df077a14c2ac3e822d54f
Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32 are standard BSD functions, and they now also appear in glibc 2.9 or later on Linux.  As the functions are so simple, we just rename to avoid a clash instead of attempting to use the library versions on some platforms.  Same as fix provided in FS#10428 by Alyssa Milburn.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22164 a1c6a512-1295-4272-9138-f99709370657
rbutil/ipodpatcher/fat32format.c