[Ffmpeg-devel] [PATCH] Missing "inttypes.h" on windows
Tue Nov 8 13:58:48 CET 2005
Diego Biurrun wrote:
> On Sun, Nov 06, 2005 at 11:25:18PM -0800, Steve Lhomme wrote:
>>This is the kind of trick we added to our source base :
>># define EMULATE_INTTYPES
>># define strcasecmp stricmp
> What is this _MSC_VER #define?
It will evaluate to TRUE when compiling with any MS compiler.
> And why do you #define strcasecmp?
It is indeed not needed, because it is already in
libavformat/os_support.h. However, that file should go in libavutil, and
strcasecmp should be aliased to stricmp for Win32, not just for OS2.
> Currently I am tempted to apply a simplified version of Fredrik's patch.
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel