summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libjingle/source/talk/base/stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libjingle/source/talk/base/stream.cc')
-rw-r--r--chromium/third_party/libjingle/source/talk/base/stream.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/libjingle/source/talk/base/stream.cc b/chromium/third_party/libjingle/source/talk/base/stream.cc
index c1cf90743a0..02ae4094fa5 100644
--- a/chromium/third_party/libjingle/source/talk/base/stream.cc
+++ b/chromium/third_party/libjingle/source/talk/base/stream.cc
@@ -495,7 +495,7 @@ bool FileStream::Flush() {
return false;
}
-#if defined(POSIX)
+#if defined(POSIX) && !defined(__native_client__)
bool FileStream::TryLock() {
if (file_ == NULL) {
@@ -711,7 +711,7 @@ void AsyncWriteStream::ClearBufferAndWrite() {
}
}
-#ifdef POSIX
+#if defined(POSIX) && !defined(__native_client__)
// Have to identically rewrite the FileStream destructor or else it would call
// the base class's Close() instead of the sub-class's.