From: resver Date: Fri, 18 May 2012 15:45:38 +0000 (+0000) Subject: Fixed _FILE_OFFSET_BITS check for the case when it is not defined at all. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b5ac1001f80ce79baff26a77e73954e847ab3c68;p=android-x86%2Fexternal-exfat.git Fixed _FILE_OFFSET_BITS check for the case when it is not defined at all. git-svn-id: http://exfat.googlecode.com/svn/trunk@286 60bc1c72-a15a-11de-b98f-4500b42dc123 --- diff --git a/libexfat/io.c b/libexfat/io.c index 609c15d..8e9de8c 100644 --- a/libexfat/io.c +++ b/libexfat/io.c @@ -32,7 +32,7 @@ #include #endif -#if _FILE_OFFSET_BITS != 64 +#if !defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64) #error You should define _FILE_OFFSET_BITS=64 #endif