forked from mirror/openmw-tes3mp
Added typedef for ssize_t in windows and fixed a use of __PRETTY_FUNCTION__
This commit is contained in:
parent
0ae01794f1
commit
bbb845824d
1 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
||||||
#include "../mwsound/sound_decoder.hpp"
|
#include "../mwsound/sound_decoder.hpp"
|
||||||
#include "../mwsound/sound.hpp"
|
#include "../mwsound/sound.hpp"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <BaseTsd.h>
|
||||||
|
|
||||||
|
typedef SSIZE_T ssize_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace MWRender
|
namespace MWRender
|
||||||
{
|
{
|
||||||
|
@ -361,7 +366,11 @@ class MovieAudioDecoder : public MWSound::Sound_Decoder
|
||||||
}
|
}
|
||||||
|
|
||||||
void open(const std::string&)
|
void open(const std::string&)
|
||||||
|
#ifdef _WIN32
|
||||||
|
{ fail(std::string("Invalid call to ")+__FUNCSIG__); }
|
||||||
|
#else
|
||||||
{ fail(std::string("Invalid call to ")+__PRETTY_FUNCTION__); }
|
{ fail(std::string("Invalid call to ")+__PRETTY_FUNCTION__); }
|
||||||
|
#endif
|
||||||
|
|
||||||
void close() { }
|
void close() { }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue