detect strings.h header

This commit is contained in:
Radim Kolar 2009-08-19 16:07:45 +02:00
parent 2a2613ec21
commit 5ada81ffc4

View File

@ -94,6 +94,8 @@ if conf.CheckCHeader('unistd.h'):
conf.env.Append(CPPFLAGS = '-DHAVE_UNISTD_H')
if conf.CheckCHeader('limits.h'):
conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H')
if conf.CheckCHeader('strings.h'):
conf.env.Append(CPPFLAGS = '-DHAVE_STRINGS_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"))