Skip to content
Snippets Groups Projects
Commit 150f87c9 authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

fix incorrect detecting readv/writev.

Branch b1_6
b=17918
i=green
parent 970690fa
No related merge requests found
......@@ -993,7 +993,7 @@ AC_DEFUN([LC_FILE_WRITEV],
LB_LINUX_TRY_COMPILE([
#include <linux/fs.h>
],[
struct file_operations *fops;
struct file_operations *fops = NULL;
fops->writev = NULL;
],[
AC_MSG_RESULT(yes)
......@@ -1011,7 +1011,7 @@ AC_DEFUN([LC_FILE_READV],
LB_LINUX_TRY_COMPILE([
#include <linux/fs.h>
],[
struct file_operations *fops;
struct file_operations *fops = NULL;
fops->readv = NULL;
],[
AC_MSG_RESULT(yes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment