diff --git a/source/src/stream.cpp b/source/src/stream.cpp index 2faa01c5..c6f9ed2d 100644 --- a/source/src/stream.cpp +++ b/source/src/stream.cpp @@ -361,7 +361,7 @@ bool stream::getline(char *str, int len) return true; } -#ifdef __linux__ +#ifndef WIN32 #include const int64_t MINFSSIZE = 50000000; // 50MB #endif @@ -377,7 +377,7 @@ struct filestream : stream { if(file) return false; file = fopen(name, mode); -#ifdef __linux__ +#ifndef WIN32 struct statvfs buf; if(file && strchr(mode,'w')) {