]> git.sven.stormbind.net Git - sven/fuse-exfat.git/commitdiff
Merge 0.9.8 from upstream
authorSven Hoexter <sven@timegate.de>
Sun, 12 Aug 2012 17:27:31 +0000 (19:27 +0200)
committerSven Hoexter <sven@timegate.de>
Sun, 12 Aug 2012 17:32:38 +0000 (19:32 +0200)
1  2 
libexfat/io.c

diff --combined libexfat/io.c
index c9c1e2bc324e5661dbc51931632ef9b00a26cddf,f0beddc97b0ae424c683e858a937be3379fee097..8e9de8cffac73d28e7900a7038ed0b3660f7676f
@@@ -2,7 -2,7 +2,7 @@@
        io.c (02.09.09)
        exFAT file system implementation library.
  
-       Copyright (C) 2009, 2010  Andrew Nayenko
+       Copyright (C) 2010-2012  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
@@@ -18,7 -18,6 +18,7 @@@
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
  
 +#define _XOPEN_SOURCE 500 /* for pread() and pwrite() in Linux */
  #include "exfat.h"
  #include <inttypes.h>
  #include <sys/types.h>
@@@ -32,7 -31,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