aboutsummaryrefslogtreecommitdiffstats
path: root/libexfat/io.c
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2012-05-18 15:45:38 +0000
committerrelan <relan@users.noreply.github.com>2015-08-24 08:26:14 +0300
commit7931e8cdd5d88a06d8ecb143e7cf9fd53165e232 (patch)
treea0ed0f31fdd66c69ff5c1fff26d596de4744d65e /libexfat/io.c
parentef40db146c69bfe68a89bb123fc0e4f9a3be2970 (diff)
downloadandroid_external_exfat-7931e8cdd5d88a06d8ecb143e7cf9fd53165e232.tar.gz
android_external_exfat-7931e8cdd5d88a06d8ecb143e7cf9fd53165e232.tar.bz2
android_external_exfat-7931e8cdd5d88a06d8ecb143e7cf9fd53165e232.zip
Fix _FILE_OFFSET_BITS check: it can be not defined at all.
Diffstat (limited to 'libexfat/io.c')
-rw-r--r--libexfat/io.c2
1 files changed, 1 insertions, 1 deletions
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 <ublio.h>
#endif
-#if _FILE_OFFSET_BITS != 64
+#if !defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64)
#error You should define _FILE_OFFSET_BITS=64
#endif