blob: ededdb39d3f5603952f17b238752a4a8bfb8659d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- lib/avifile/AviWrite.cpp.orig Fri Oct 6 12:58:16 2000
+++ lib/avifile/AviWrite.cpp Fri Oct 6 12:59:14 2000
@@ -23,7 +23,11 @@
try
{
m_status=0;
+#ifdef O_LARGEFILE
m_fd=new FileBuffer(name, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, mask);
+#else
+ m_fd=new FileBuffer(name, O_WRONLY | O_CREAT | O_TRUNC, mask);
+#endif
const int junk_size=0x800;
char* junk=new char[junk_size];
memset(junk, 0, junk_size);
|