| Index: base/files/scoped_file.h
|
| diff --git a/base/files/scoped_file.h b/base/files/scoped_file.h
|
| index 68c04158248dec05ee10ff71505ab56c74064e7d..e32a60390980ad197d123d7c5e4354069dd3580a 100644
|
| --- a/base/files/scoped_file.h
|
| +++ b/base/files/scoped_file.h
|
| @@ -18,7 +18,7 @@ namespace base {
|
|
|
| namespace internal {
|
|
|
| -#if defined(OS_POSIX)
|
| +#if defined(OS_POSIX) || defined(OS_FUCHSIA)
|
| struct BASE_EXPORT ScopedFDCloseTraits {
|
| static int InvalidValue() {
|
| return -1;
|
| @@ -39,7 +39,7 @@ struct ScopedFILECloser {
|
|
|
| // -----------------------------------------------------------------------------
|
|
|
| -#if defined(OS_POSIX)
|
| +#if defined(OS_POSIX) || defined(OS_FUCHSIA)
|
| // A low-level Posix file descriptor closer class. Use this when writing
|
| // platform-specific code, especially that does non-file-like things with the
|
| // FD (like sockets).
|
|
|