diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-02-05 06:37:53 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-02-05 06:37:53 +0000 |
| commit | edd5192d13ba128936a08bbb612254afa3a14688 (patch) | |
| tree | ed4f74faf44a1716a2e052ae9723ee37c9bed7ba /lldb/source/Core/StreamFile.cpp | |
| parent | 8442fba3b45586bfe55a082fc150d6173d4f4e47 (diff) | |
| download | bcm5719-llvm-edd5192d13ba128936a08bbb612254afa3a14688.tar.gz bcm5719-llvm-edd5192d13ba128936a08bbb612254afa3a14688.zip | |
Configuration support for setlinebuf support from Kirk Beitz.
llvm-svn: 124943
Diffstat (limited to 'lldb/source/Core/StreamFile.cpp')
| -rw-r--r-- | lldb/source/Core/StreamFile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Core/StreamFile.cpp b/lldb/source/Core/StreamFile.cpp index 278e90f8bab..51de26d6368 100644 --- a/lldb/source/Core/StreamFile.cpp +++ b/lldb/source/Core/StreamFile.cpp @@ -94,6 +94,8 @@ StreamFile::Open (const char *path, const char *permissions) return m_file != NULL; } +#if LLDB_CONFIG_SUPPORTS_SETLINEBUFFERED + void StreamFile::SetLineBuffered () { @@ -101,6 +103,8 @@ StreamFile::SetLineBuffered () setlinebuf (m_file); } +#endif // #if LLDB_CONFIG_SUPPORTS_SETLINEBUFFERED + void StreamFile::Flush () { |

