X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=libexfat%2Fplatform.h;h=9ab3155d36bafc823f60a93d00679e1fa8a686c5;hb=65b0f9fc39c546369f4f0f43f36891f7709b891a;hp=0e5dc9113ae13c05c5bfaed292cc56544d1e1adf;hpb=a3cab139f9818e8235dd26b5fef535dffced5f8d;p=sven%2Ffuse-exfat.git diff --git a/libexfat/platform.h b/libexfat/platform.h index 0e5dc91..9ab3155 100644 --- a/libexfat/platform.h +++ b/libexfat/platform.h @@ -4,7 +4,7 @@ same kernel can use different libc implementations. Free exFAT implementation. - Copyright (C) 2010-2014 Andrew Nayenko + Copyright (C) 2010-2018 Andrew Nayenko This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ #ifndef PLATFORM_H_INCLUDED #define PLATFORM_H_INCLUDED -#if defined(__GLIBC__) +#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) #include #include @@ -46,7 +46,7 @@ #define EXFAT_LITTLE_ENDIAN LITTLE_ENDIAN #define EXFAT_BIG_ENDIAN BIG_ENDIAN -#elif defined(__FreeBSD__) || defined(__DragonFlyBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) #include #define exfat_bswap16(x) bswap16(x)