0001-fix-compiling-with-non-glibc-libcs.patch 698 B

1234567891011121314151617181920212223
  1. [PATCH] fix compilation when libc does not define __GLIBC__
  2. libexfat would only compile on Linux with __GLIBC__ defined. Changed
  3. to use __linux__ which likely better fits the original intent.
  4. Signed-off-by: Brendan Heading <brendanheading@gmail.com>
  5. ---
  6. platform.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. Index: libexfat/libexfat/platform.h
  9. ===================================================================
  10. --- libexfat/libexfat/platform.h (revision 422)
  11. +++ libexfat/libexfat/platform.h (working copy)
  12. @@ -24,7 +24,7 @@
  13. #ifndef PLATFORM_H_INCLUDED
  14. #define PLATFORM_H_INCLUDED
  15. -#if defined(__GLIBC__)
  16. +#if defined(__linux__)
  17. #include <endian.h>
  18. #include <byteswap.h>