From 7096926d05f6ee0a14b11221a26c7c1f0e3d4e56 Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Fri, 21 Nov 2008 00:44:13 +0100 Subject: [PATCH] fix check for linux platform in wscript --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index a191a1b..7ab6b52 100644 --- a/wscript +++ b/wscript @@ -71,7 +71,7 @@ def configure(conf): conf.check(header_name='sys/un.h') # check for available functions - if sys.platform == 'linux': + if sys.platform == 'linux2': conf.check(function_name='sendfile', header_name='sys/sendfile.h', define_name='HAVE_SENDFILE') conf.check(function_name='sendfile64', header_name='sys/sendfile.h', define_name='HAVE_SENDFILE64') else: