From 3a253335c6d265ceb418a37c65efdf1f82216ac7 Mon Sep 17 00:00:00 2001 From: resver Date: Fri, 18 May 2012 15:52:30 +0000 Subject: [PATCH] Define FUSE_USE_VERSION only before inclusion of fuse.h, no need to define it globally. git-svn-id: http://exfat.googlecode.com/svn/trunk@287 60bc1c72-a15a-11de-b98f-4500b42dc123 --- SConstruct | 1 - fuse/main.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 9da3f30..f427de1 100644 --- a/SConstruct +++ b/SConstruct @@ -41,7 +41,6 @@ if not conf.env['CCFLAGS']: conf.env.Replace(CCFLAGS = '-Wall -O2 -g') if 'CPPFLAGS' in os.environ: conf.env.Replace(CPPFLAGS = os.environ['CPPFLAGS']) -conf.env.Append(CPPDEFINES = {'FUSE_USE_VERSION': 26}) conf.env.Append(CPPDEFINES = {'_FILE_OFFSET_BITS' : 64}) conf.env.Append(CPPPATH = ['libexfat']) if 'LDFLAGS' in os.environ: diff --git a/fuse/main.c b/fuse/main.c index 2be54e2..643df3f 100644 --- a/fuse/main.c +++ b/fuse/main.c @@ -18,6 +18,7 @@ along with this program. If not, see . */ +#define FUSE_USE_VERSION 26 #include #include #include -- 2.11.0