Added typedef for ssize_t in windows and fixed a use of __PRETTY_FUNCTION__

This commit is contained in:
Alexander "Ace" Olofsson 2013-02-12 13:59:24 +01:00
parent 0ae01794f1
commit bbb845824d

View file

@ -17,6 +17,11 @@
#include "../mwsound/sound_decoder.hpp"
#include "../mwsound/sound.hpp"
#ifdef _WIN32
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
namespace MWRender
{
@ -361,7 +366,11 @@ class MovieAudioDecoder : public MWSound::Sound_Decoder
}
void open(const std::string&)
#ifdef _WIN32
{ fail(std::string("Invalid call to ")+__FUNCSIG__); }
#else
{ fail(std::string("Invalid call to ")+__PRETTY_FUNCTION__); }
#endif
void close() { }