autodetect sys/wait.h header
This commit is contained in:
parent
3a9769618a
commit
dfa9fdc50d
|
|
@ -100,6 +100,8 @@ if conf.CheckCHeader('sys/resource.h'):
|
|||
conf.env.Append(CPPFLAGS = '-DHAVE_SYS_RESOURCE_H')
|
||||
if conf.CheckCHeader('sys/syslimits.h'):
|
||||
conf.env.Append(CPPFLAGS = '-DHAVE_SYS_SYSLIMITS_H')
|
||||
if conf.CheckCHeader('sys/wait.h'):
|
||||
conf.env.Append(CPPFLAGS = '-DHAVE_SYS_WAIT_H')
|
||||
env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))
|
||||
env.Append(CPPFLAGS = '-DSIZEOF_LONG='+conf.sizeOf("long"))
|
||||
env.Append(CPPFLAGS = '-DSIZEOF_SHORT='+conf.sizeOf("short"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user