[FFmpeg-devel] [PATCH] getenv & strerror should be a NOP on WinCE
Diego Biurrun
diego
Sun Aug 2 18:39:29 CEST 2009
On Sun, Aug 02, 2009 at 07:35:49PM +0300, ?smail D?nmez wrote:
>
> Patch attached.
>
> --- libavformat/os_support.h (revision 19560)
> +++ libavformat/os_support.h (working copy)
> @@ -34,6 +34,11 @@
> # define lseek(f,p,w) _lseeki64((f), (p), (w))
> #endif
>
> +#if defined(__MINGW32CE__)
> +# define getenv(x) ""
> +# define strerror(x) ""
> +#endif
I think you could merge this with the section above and simplify both.
Also, IIRC the "" are unnecessary.
Diego
More information about the ffmpeg-devel
mailing list