Skip to content

Commit 0cc6530

Browse files
committed
try
1 parent 82ea4fa commit 0cc6530

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp-terminal/private/file.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FileHandler
2929
#if defined(_WIN32)
3030
using Handle = void*;
3131
#else
32-
using Handle = std::FILE*;
32+
using Handle = ::FILE*;
3333
#endif
3434
FileHandler(std::recursive_mutex& mutex, const std::string& file, const std::string& mode) noexcept;
3535
FileHandler(const FileHandler&) = delete;
@@ -39,7 +39,7 @@ class FileHandler
3939
virtual ~FileHandler() noexcept;
4040
Handle handle() const noexcept;
4141
bool null() const noexcept;
42-
std::FILE* file() const noexcept;
42+
::FILE* file() const noexcept;
4343
std::int32_t fd() const noexcept;
4444
void lockIO();
4545
void unlockIO();
@@ -50,7 +50,7 @@ class FileHandler
5050
std::recursive_mutex& m_mutex; //NOLINT(cppcoreguidelines-avoid-const-or-ref-data-members)
5151
bool m_null{false};
5252
Handle m_handle{nullptr};
53-
std::FILE* m_file{nullptr};
53+
::FILE* m_file{nullptr};
5454
std::int32_t m_fd{-1};
5555
};
5656

0 commit comments

Comments
 (0)