detect presence of sys/resource.h header
This commit is contained in:
parent
5ada81ffc4
commit
8c4ebdba3f
|
|
@ -96,6 +96,8 @@ if conf.CheckCHeader('limits.h'):
|
||||||
conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H')
|
conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H')
|
||||||
if conf.CheckCHeader('strings.h'):
|
if conf.CheckCHeader('strings.h'):
|
||||||
conf.env.Append(CPPFLAGS = '-DHAVE_STRINGS_H')
|
conf.env.Append(CPPFLAGS = '-DHAVE_STRINGS_H')
|
||||||
|
if conf.CheckCHeader('sys/resource.h'):
|
||||||
|
conf.env.Append(CPPFLAGS = '-DHAVE_SYS_RESOURCE_H')
|
||||||
env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))
|
env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))
|
||||||
env.Append(CPPFLAGS = '-DSIZEOF_LONG='+conf.sizeOf("long"))
|
env.Append(CPPFLAGS = '-DSIZEOF_LONG='+conf.sizeOf("long"))
|
||||||
env.Append(CPPFLAGS = '-DSIZEOF_SHORT='+conf.sizeOf("short"))
|
env.Append(CPPFLAGS = '-DSIZEOF_SHORT='+conf.sizeOf("short"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user