From 44036b8f98d669ac85fdf36176d4685cb162b97c Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Fri, 25 Jul 2008 19:40:31 -0300
Subject: [PATCH 07/31] Fix _FILE_OFFSET_BITS check in libjio.h

The check was wrong; luckily _FILE_OFFSET_BITS is often (if not always)
undefined if not set to 64 so there shouldn't be any problems with this
change.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 libjio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libjio.h b/libjio.h
index f342148..c48b47d 100644
--- a/libjio.h
+++ b/libjio.h
@@ -19,7 +19,7 @@
  * library (which uses LFS) and that's just begging for problems. There should
  * be a portable way for the C library to do some of this for us, but until I
  * find one, this is the best we can do */
-#if (!defined _FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS != 64)
+#if (!defined _FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64)
 #error "You must compile your application with Large File Support"
 #endif
 
-- 
1.6.2.rc0.226.gf08f

