diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-05 20:23:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-08 23:01:07 +0900 |
commit | e2ccb316b437104cd1734c378970d34f5305966d (patch) | |
tree | e6544bb77416690a8e79d9ca925aaa877bfa60a7 /include/ruby/internal/intern | |
parent | 55fef084dac843caf155f03077773704b36e139e (diff) | |
download | ruby-e2ccb316b437104cd1734c378970d34f5305966d.tar.gz |
[Bug #5317] Use `rb_off_t` instead of `off_t`
Get rid of the conflict with system-provided small `off_t`.
Diffstat (limited to 'include/ruby/internal/intern')
-rw-r--r-- | include/ruby/internal/intern/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/intern/file.h b/include/ruby/internal/intern/file.h index 2dc60c7ba7..79820fdc61 100644 --- a/include/ruby/internal/intern/file.h +++ b/include/ruby/internal/intern/file.h @@ -206,7 +206,7 @@ int rb_is_absolute_path(const char *path); * unpredictable. POSIX's `<sys/stat.h>` states that "the use of * this field is unspecified" then. */ -off_t rb_file_size(VALUE file); +rb_off_t rb_file_size(VALUE file); RBIMPL_SYMBOL_EXPORT_END() |