@ -13,6 +13,7 @@ Doxygen
## ides/editors
*~
*.bak
*.kdev4
*.swp
*.swo
@ -385,7 +385,7 @@ class MovieAudioDecoder : public MWSound::Sound_Decoder
}
void open(const std::string&)
#ifdef _WIN32
#ifdef _MSC_VER
{ fail(std::string("Invalid call to ")+__FUNCSIG__); }
#else
{ fail(std::string("Invalid call to ")+__PRETTY_FUNCTION__); }
@ -1,5 +1,5 @@
#include "worldimp.hpp"
#if defined(_WIN32) && !defined(__MINGW32__)
#include <boost/tr1/tr1/unordered_map>
#elif defined HAVE_UNORDERED_MAP
#include <unordered_map>
@ -1,7 +1,7 @@
#ifndef COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP
#define COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP
@ -31,7 +31,11 @@ SDLWindowHelper::SDLWindowHelper (SDL_Window* window, int w, int h,
#ifdef WIN32
case SDL_SYSWM_WINDOWS:
// Windows code
#ifdef __MINGW64__
winHandle = Ogre::StringConverter::toString((DWORD_PTR)wmInfo.info.win.window);
winHandle = Ogre::StringConverter::toString((unsigned long)wmInfo.info.win.window);
#endif /* __MINGW64__ */
break;
#elif __MACOSX__
case SDL_SYSWM_COCOA:
@ -9,7 +9,7 @@
#include <string.h>
#if (defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1070) || defined(__MINGW32__)
// need our own implementation of strnlen
#ifdef __MINGW32__
#ifdef __MINGW32__ && !__MINGW64__
static size_t strnlen(const char *s, size_t n)
{
const char *p = (const char *)memchr(s, 0, n);