[build] check for preadv(), pwritev()
parent
907ec27737
commit
5c18891a94
|
@ -446,7 +446,9 @@ if 1:
|
|||
'posix_fadvise',
|
||||
'prctl',
|
||||
'pread',
|
||||
'preadv',
|
||||
'pwrite',
|
||||
'pwritev',
|
||||
'select',
|
||||
'send_file',
|
||||
'sendfile',
|
||||
|
|
|
@ -1513,7 +1513,9 @@ AC_CHECK_FUNCS([\
|
|||
poll \
|
||||
port_create \
|
||||
pread \
|
||||
preadv \
|
||||
pwrite \
|
||||
pwritev \
|
||||
select \
|
||||
send_file \
|
||||
sendfile \
|
||||
|
|
|
@ -186,7 +186,9 @@ check_function_exists(poll HAVE_POLL)
|
|||
check_function_exists(port_create HAVE_PORT_CREATE)
|
||||
check_function_exists(prctl HAVE_PRCTL)
|
||||
check_function_exists(pread HAVE_PREAD)
|
||||
check_function_exists(preadv HAVE_PREADV)
|
||||
check_function_exists(pwrite HAVE_PWRITE)
|
||||
check_function_exists(pwritev HAVE_PWRITEV)
|
||||
check_function_exists(posix_fadvise HAVE_POSIX_FADVISE)
|
||||
check_function_exists(select HAVE_SELECT)
|
||||
check_function_exists(sendfile HAVE_SENDFILE)
|
||||
|
|
|
@ -140,7 +140,9 @@
|
|||
#cmakedefine HAVE_PORT_CREATE
|
||||
#cmakedefine HAVE_PRCTL
|
||||
#cmakedefine HAVE_PREAD
|
||||
#cmakedefine HAVE_PREADV
|
||||
#cmakedefine HAVE_PWRITE
|
||||
#cmakedefine HAVE_PWRITEV
|
||||
#cmakedefine HAVE_POSIX_FADVISE
|
||||
#cmakedefine HAVE_SELECT
|
||||
#cmakedefine HAVE_SENDFILE
|
||||
|
|
|
@ -140,7 +140,9 @@ conf_data.set('HAVE_PORT_CREATE', compiler.has_function('port_create', args: def
|
|||
conf_data.set('HAVE_POSIX_FADVISE', compiler.has_function('posix_fadvise', args: defs))
|
||||
conf_data.set('HAVE_PRCTL', compiler.has_function('prctl', args: defs))
|
||||
conf_data.set('HAVE_PREAD', compiler.has_function('pread', args: defs))
|
||||
conf_data.set('HAVE_PREADV', compiler.has_function('preadv', args: defs))
|
||||
conf_data.set('HAVE_PWRITE', compiler.has_function('pwrite', args: defs))
|
||||
conf_data.set('HAVE_PWRITEV', compiler.has_function('pwritev', args: defs))
|
||||
conf_data.set('HAVE_SELECT', compiler.has_function('select', args: defs))
|
||||
conf_data.set('HAVE_SENDFILE', compiler.has_function('sendfile', args: defs))
|
||||
conf_data.set('HAVE_SEND_FILE', compiler.has_function('send_file', args: defs))
|
||||
|
|
Loading…
Reference in New Issue