add SIZEOF_LONG constant
This commit is contained in:
parent
058bbd0ea4
commit
8b87dfd6da
|
|
@ -22,6 +22,7 @@ Version NEXT
|
||||||
exit build if function is unavailable.
|
exit build if function is unavailable.
|
||||||
parsecheck: report if all tests passed / some failed
|
parsecheck: report if all tests passed / some failed
|
||||||
parsecheck: init all fields in testcase results
|
parsecheck: init all fields in testcase results
|
||||||
|
SConstruct: declare CPP constant SIZEOF_LONG
|
||||||
|
|
||||||
Version 2.8.1b29 - 24 Aug 2019
|
Version 2.8.1b29 - 24 Aug 2019
|
||||||
added scons command line argument without-fspscan=yes for building
|
added scons command line argument without-fspscan=yes for building
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,8 @@ if not conf.CheckType("union semun", "#include <sys/types.h>\n#include <sys/ipc.
|
||||||
conf.env.Append(CPPFLAGS = "-D_SEM_SEMUN_UNDEFINED=1")
|
conf.env.Append(CPPFLAGS = "-D_SEM_SEMUN_UNDEFINED=1")
|
||||||
conf.checkForLargeFiles(conf)
|
conf.checkForLargeFiles(conf)
|
||||||
if not conf.CheckFunc('fseeko'): Exit(1)
|
if not conf.CheckFunc('fseeko'): Exit(1)
|
||||||
|
ulong=conf.CheckTypeSize('long')
|
||||||
|
conf.env.Append(CPPFLAGS = '-DSIZEOF_LONG='+str(ulong))
|
||||||
conf.checkForLockingType(conf)
|
conf.checkForLockingType(conf)
|
||||||
if conf.checkReliableSignals():
|
if conf.checkReliableSignals():
|
||||||
conf.env.Append(CPPFLAGS = '-DRELIABLE_SIGNALS')
|
conf.env.Append(CPPFLAGS = '-DRELIABLE_SIGNALS')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user