mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 05:48:34 +00:00
Check for sendfile() only if header sys/sendfile.h is detected.
Hopefully there aren't any non-Linux platforms that have have sys/sendfile.h and incompatible sendfile()
This commit is contained in:
parent
f59d1604fd
commit
3b600d3a6e
@ -248,7 +248,8 @@ if env["prereqs"]:
|
||||
conf.CheckCHeader("poll.h", "<>")
|
||||
conf.CheckCHeader("sys/poll.h", "<>")
|
||||
conf.CheckCHeader("sys/select.h", "<>")
|
||||
conf.CheckFunc("sendfile")
|
||||
if conf.CheckCHeader("sys/sendfile.h", "<>"):
|
||||
conf.CheckFunc("sendfile")
|
||||
|
||||
conf.CheckFunc("round")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user