From ce46eba9793025f8b555326a9bc6909c3fa14fdd Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 23 Jan 2008 21:32:27 +0000 Subject: [PATCH] remove _FILE_OFFSET_BITS define/check since it's in config.h (Alon Bar-Lev) --- include/fuse-lite/fuse_common.h | 5 ----- libfuse-lite/Makefile.am | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/include/fuse-lite/fuse_common.h b/include/fuse-lite/fuse_common.h index b7e5791b..ddc9ce30 100644 --- a/include/fuse-lite/fuse_common.h +++ b/include/fuse-lite/fuse_common.h @@ -27,11 +27,6 @@ #define FUSE_MAKE_VERSION(maj, min) ((maj) * 10 + (min)) #define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION) -/* This interface uses 64 bit off_t */ -#if _FILE_OFFSET_BITS != 64 -#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags! -#endif - #ifdef __cplusplus extern "C" { #endif diff --git a/libfuse-lite/Makefile.am b/libfuse-lite/Makefile.am index c8339718..9e73d4e8 100644 --- a/libfuse-lite/Makefile.am +++ b/libfuse-lite/Makefile.am @@ -7,8 +7,7 @@ endif libfuse_lite_la_CFLAGS= \ $(AM_CFLAGS) \ - -I$(top_srcdir)/include/fuse-lite \ - -D_FILE_OFFSET_BITS=64 + -I$(top_srcdir)/include/fuse-lite libfuse_lite_la_LIBADD = $(LIBFUSE_LITE_LIBS)