mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 08:49:33 +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,6 +248,7 @@ if env["prereqs"]:
|
||||
conf.CheckCHeader("poll.h", "<>")
|
||||
conf.CheckCHeader("sys/poll.h", "<>")
|
||||
conf.CheckCHeader("sys/select.h", "<>")
|
||||
if conf.CheckCHeader("sys/sendfile.h", "<>"):
|
||||
conf.CheckFunc("sendfile")
|
||||
|
||||
conf.CheckFunc("round")
|
||||
|
Loading…
x
Reference in New Issue
Block a user