fixed definiton of HAVE_UNISTD_H, use conf object, not env directly
This commit is contained in:
parent
93ff5f9598
commit
2a2613ec21
|
|
@ -91,7 +91,7 @@ if conf.CheckFunc('fork'):
|
||||||
if conf.CheckFunc('setsid'):
|
if conf.CheckFunc('setsid'):
|
||||||
conf.env.Append(CPPFLAGS = '-DHAVE_SETSID')
|
conf.env.Append(CPPFLAGS = '-DHAVE_SETSID')
|
||||||
if conf.CheckCHeader('unistd.h'):
|
if conf.CheckCHeader('unistd.h'):
|
||||||
env.Append(CPPFLAGS = '-DHAVE_UNISTD_H')
|
conf.env.Append(CPPFLAGS = '-DHAVE_UNISTD_H')
|
||||||
if conf.CheckCHeader('limits.h'):
|
if conf.CheckCHeader('limits.h'):
|
||||||
conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H')
|
conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H')
|
||||||
env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))
|
env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user