diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-11 02:12:54 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-11 02:12:54 +0000 |
commit | 2d2a50961207307104ff16a49d07d6d3a91e0b24 (patch) | |
tree | 7a32550a21081dad52b1a1a1bc93f95506c2ba91 /io.c | |
parent | c84a25e14882a356bc37647a2acf1b6a9127283b (diff) |
io.c: check HAVE_FCOPYFILE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11304,7 +11304,7 @@ static void * nogvl_copy_stream_func(void *arg) { struct copy_stream_struct *stp = (struct copy_stream_struct *)arg; -#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) +#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) || defined(HAVE_FCOPYFILE) int ret; #endif @@ -11328,7 +11328,7 @@ nogvl_copy_stream_func(void *arg) nogvl_copy_stream_read_write(stp); -#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) +#if defined(USE_SENDFILE) || defined(USE_COPY_FILE_RANGE) || defined(HAVE_FCOPYFILE) finish: #endif return 0; |