summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-09-20 04:56:09 +0000
committerDon Kjer <don@lindenlab.com>2012-09-20 04:56:09 +0000
commit7d62343f4444e05d30092e6219bfea564a8e8e17 (patch)
tree5ec602981f8f71d6f587b30c1a5d0adb982e925c /indra/llcommon
parent7153d1db11c00245a379fa9601f092020152ea73 (diff)
Skipping experimental filebuffering code on windows for now
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp
index 38b0dfdaf1..deab7a87fc 100644
--- a/indra/llcommon/llfile.cpp
+++ b/indra/llcommon/llfile.cpp
@@ -411,6 +411,9 @@ LLFILE * LLFile::_Fiopen(const std::string& filename,
//#endif
//}
+
+// *TODO: Seek the underlying c stream for better cross-platform compatibility?
+#if !LL_WINDOWS
llstdio_filebuf::int_type llstdio_filebuf::overflow(llstdio_filebuf::int_type __c)
{
int_type __ret = traits_type::eof();
@@ -829,6 +832,7 @@ int llstdio_filebuf::sync()
{
return (_M_file.sync() == 0 ? 0 : -1);
}
+#endif
/************** input file stream ********************************/