From 2a2613ec214d22d214e8100ad9242d312bb5cfe8 Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Wed, 19 Aug 2009 16:00:50 +0200 Subject: [PATCH] fixed definiton of HAVE_UNISTD_H, use conf object, not env directly --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index b2d62e0..f76bf05 100644 --- a/SConstruct +++ b/SConstruct @@ -91,7 +91,7 @@ if conf.CheckFunc('fork'): if conf.CheckFunc('setsid'): conf.env.Append(CPPFLAGS = '-DHAVE_SETSID') if conf.CheckCHeader('unistd.h'): - env.Append(CPPFLAGS = '-DHAVE_UNISTD_H') + conf.env.Append(CPPFLAGS = '-DHAVE_UNISTD_H') if conf.CheckCHeader('limits.h'): conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_H') env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char"))