commit | 71f0814e52df8d862b2658fd3075c3020347d0fd | [log] [tgz] |
---|---|---|
author | Dave Chapman <dave@dchapman.com> | Tue Aug 04 20:03:17 2009 +0000 |
committer | Dave Chapman <dave@dchapman.com> | Tue Aug 04 20:03:17 2009 +0000 |
tree | 25c77b0373bd8b42c8f85409e599c2ef20a6a2a6 | |
parent | 9ad071dcafc79cc6d1d16f6c94f8406623e64d53 [diff] |
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