From 77a236ce4cd8ba5493e3dd0350e8a1ef54df6dae Mon Sep 17 00:00:00 2001 From: relan Date: Wed, 7 Oct 2015 22:18:26 +0300 Subject: 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__. --- libexfat/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -- cgit v1.2.3