From 71547e662bd126f6f64933a0e73e22f9636c8c6f Mon Sep 17 00:00:00 2001 From: Radim Kolar Date: Fri, 16 Aug 2019 14:35:50 +0200 Subject: [PATCH] retabed largefiles.py to be python 3 compatible --- site_scons/largefiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site_scons/largefiles.py b/site_scons/largefiles.py index 3793d5c..9b24ed4 100644 --- a/site_scons/largefiles.py +++ b/site_scons/largefiles.py @@ -1,8 +1,8 @@ # # SCons Largefile enablement # -# Version 1.1 -# 01-Oct-2009 +# Version 1.2 +# 16-Aug-2019 # def enableLargeFiles(conf): @@ -13,7 +13,7 @@ def enableLargeFiles(conf): offt=conf.CheckTypeSize('off_t','#include \n#include ') if offt<8 and offt>0: flags=conf.env.Dictionary()['CPPFLAGS'] - conf.env.Append(CPPFLAGS='-D_FILE_OFFSET_BITS=64') + conf.env.Append(CPPFLAGS='-D_FILE_OFFSET_BITS=64') offt=conf.CheckTypeSize('off_t','#include \n#include ') if offt < 8: env.Replace(CPPFLAGS=flags)