diff options
author | relan <relan@users.noreply.github.com> | 2015-10-07 22:18:26 +0300 |
---|---|---|
committer | relan <relan@users.noreply.github.com> | 2015-10-09 09:26:23 +0300 |
commit | 77a236ce4cd8ba5493e3dd0350e8a1ef54df6dae (patch) | |
tree | 32d34959d9a05a234bc52e8a3de49aad140c0bd9 | |
parent | b7953e251b0aec68cdd056ddafd2d4c17b338b8b (diff) | |
download | android_external_exfat-77a236ce4cd8ba5493e3dd0350e8a1ef54df6dae.tar.gz android_external_exfat-77a236ce4cd8ba5493e3dd0350e8a1ef54df6dae.tar.bz2 android_external_exfat-77a236ce4cd8ba5493e3dd0350e8a1ef54df6dae.zip |
Support platform macros for GNU/kFreeBSD and GNU/HURD.
While GNU/kFreeBSD uses glibc it's obviously not Linux, so it requires
explicit __GLIBC__ check. Strangely, but GNU/HURD does not define
__GLIBC__, so check for __GNU__.
-rw-r--r-- | libexfat/platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexfat/platform.h b/libexfat/platform.h index eaa92f8..99fe507 100644 --- a/libexfat/platform.h +++ b/libexfat/platform.h @@ -24,7 +24,7 @@ #ifndef PLATFORM_H_INCLUDED #define PLATFORM_H_INCLUDED -#if defined(__linux__) +#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) #include <endian.h> #include <byteswap.h> |