2
0
Fork 0

fix check for linux platform in wscript

personal/stbuehler/wip
Thomas Porzelt 2008-11-21 00:44:13 +01:00
parent 928b8d52c1
commit 7096926d05
1 changed files with 1 additions and 1 deletions

View File

@ -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: