largefiles.py: improve printed messages
This commit is contained in:
parent
650da936ae
commit
d88cb13bf7
|
|
@ -2,7 +2,7 @@
|
||||||
# SCons Largefile enablement
|
# SCons Largefile enablement
|
||||||
#
|
#
|
||||||
# Version 1.4
|
# Version 1.4
|
||||||
# 07-Jul-2024
|
# 08-Jul-2024
|
||||||
#
|
#
|
||||||
|
|
||||||
def enableLargeFiles(check,conf):
|
def enableLargeFiles(check,conf):
|
||||||
|
|
@ -23,10 +23,10 @@ def enableLargeFiles(check,conf):
|
||||||
if not fseeko:
|
if not fseeko:
|
||||||
# no fseeko we do not need off_t for anything
|
# no fseeko we do not need off_t for anything
|
||||||
offt = 0
|
offt = 0
|
||||||
check.Message("Effective off_t size is ")
|
check.Message("Checking for effective size of off_t ... ")
|
||||||
check.Result(str(offt)+" bytes")
|
check.Result(str(offt)+" bytes")
|
||||||
conf.env.Append(CPPFLAGS = '-DSIZEOF_OFF_T='+str(offt))
|
conf.env.Append(CPPFLAGS = '-DSIZEOF_OFF_T='+str(offt))
|
||||||
check.Message("Checking if we have native large files ...")
|
check.Message("Checking if we have native large files ... ")
|
||||||
if fseeko and int(offt)>=8 and int(ulong)>=8:
|
if fseeko and int(offt)>=8 and int(ulong)>=8:
|
||||||
conf.env.Append(CPPFLAGS = '-DNATIVE_LARGEFILES')
|
conf.env.Append(CPPFLAGS = '-DNATIVE_LARGEFILES')
|
||||||
rc=True
|
rc=True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user