[FFmpeg-devel] [PATCH] getenv & strerror should be a NOP on WinCE

İsmail Dönmez ismail
Sun Aug 2 18:50:46 CEST 2009


Hi,

On Sun, Aug 2, 2009 at 7:48 PM, Diego Biurrun<diego at biurrun.de> wrote:
> On Sun, Aug 02, 2009 at 07:43:12PM +0300, ?smail D?nmez wrote:
>>
>> --- libavformat/os_support.h ?(revision 19560)
>> +++ libavformat/os_support.h ?(working copy)
>> @@ -32,6 +32,9 @@
>> ?#if defined(__MINGW32__) && !defined(__MINGW32CE__)
>> ?# ?include <fcntl.h>
>> ?# ?define lseek(f,p,w) _lseeki64((f), (p), (w))
>> +#elif defined(__MINGW32CE__)
>> +# ?define getenv(x) ""
>> +# ?define strerror(x) ""
>> ?#endif
>
> It's simpler the other way around
>
> #if __MINGW32CE__
> #elif __MINGW32__

Done like that.

Regards.

-- 
?smail D?NMEZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wince-nop.patch
Type: application/octet-stream
Size: 471 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090802/6dbbcb82/attachment.obj>



More information about the ffmpeg-devel mailing list