4 Parts of libptp2 are copied (and modified) from version 1.1.0:
11 These are just copies of the same files from libptp2.
12 In order to avoid clashes with the libptp2 endianness scripts
13 we have named libptp-endian.h and libptp-stdint.h the
14 same way as in libptp2, though they are created by libmtp
15 autoconfigure scripts.
17 We will try to track libptp2 and fold changes back into
20 TODO: check if the following still holds! (Linus)
22 I have changed the config script slightly for the le64atoh function
23 in libptp-endian.h. This is required for OS X on PowerPC (not sure why).
24 I've just cast the bytes to uint64_t to avoid shifting wrongly.