[MPlayer-users] dvdnav problems 32bit MinGW

Roger Pack rogerdpack2 at gmail.com
Sat Nov 12 16:08:31 CET 2011


>> typedef long _off_t; // does it look like this?
>>
>> You left out a few Include directories in the above command line.
> And if you don't define _OFF_T_, then long will not be redefined:
> since it will only be redefined way if  _OFF_T_  is defined. Or so it looks
> to me.

At the very bottom of
http://oss.netfarm.it/mplayer/misc/mingwrt_file64.diff


 #ifndef	_OFF_T_
 #define	_OFF_T_
+#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
+typedef long long _off_t;
+#else
 typedef long _off_t;
+#endif

(my current hunch is that this part of the patch may not have been
applied correctly...)
GL!
-roger-


More information about the MPlayer-users mailing list