diff options
Diffstat (limited to 'lldb/source/Host/common/File.cpp')
-rw-r--r-- | lldb/source/Host/common/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 6ee4e894756..22b42c6f1c7 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -100,7 +100,7 @@ int File::GetDescriptor() const { // Don't open the file descriptor if we don't need to, just get it from the // stream if we have one. if (StreamIsValid()) { -#if defined(LLVM_ON_WIN32) +#if defined(_WIN32) return _fileno(m_stream); #else return fileno(m_stream); |