[FFmpeg-devel] Unicode filenames support on Windows regression

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Apr 19 00:15:04 CEST 2012

On Tue, Apr 17, 2012 at 08:26:43PM +0200, Nicolas George wrote:
> Of course, I see the nature of your problem: if #define stat overrides the
> stat function, it will override the structure name too.
> I do not have a really good idea on how to deal with that problem.

If you assume nobody will pass a stat function pointer around:
#define stat(a, b) ff_win32_stat(a, b)
instead of
#define stat ff_win32_stat

More information about the ffmpeg-devel mailing list