Re: [Live-devel] MSVC 2005+ compilation

2013-12-18 Thread Ross Finlayson
> Fix, add check for msvc version: > #if defined(__WIN32__) || defined(_WIN32) > #define snprintf _snprintf > #if _MSC_VER >= 1400 // 1400 == vs2005 > #define fileno _fileno > #endif > #endif Thanks. This change will be included in the next release of the software. Ross Finlayson Live Networks,

[Live-devel] MSVC 2005+ compilation

2013-12-18 Thread maks
When I compile liveMedia using MSVC 2012 I got error: "mp3streamstate.cpp(412): error C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details" --- MSDN(http://msdn.microsoft.com/en-us/library/ms235384