[Ffmpeg-devel] [PATCH] Missing "inttypes.h" on windows
Michel Bardiaux
mbardiaux
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 :
>>
>>#ifdef _MSC_VER
>># define EMULATE_INTTYPES
>># define strcasecmp stricmp
>>#endif
>
>
> 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.
>
> Diego
>
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list