Revert "Allow MinGW64 compilation in Windows/msys"

This reverts commit c3f350e3fb.

Conflicts:
	libs/platform/string.h
actorid
cc9cii 11 years ago
parent ac606a865c
commit fcfc8fcccb

1
.gitignore vendored

@ -13,7 +13,6 @@ Doxygen
## ides/editors
*~
*.bak
*.kdev4
*.swp
*.swo

@ -385,7 +385,7 @@ class MovieAudioDecoder : public MWSound::Sound_Decoder
}
void open(const std::string&)
#ifdef _MSC_VER
#ifdef _WIN32
{ 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__)
#ifdef _WIN32
#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
#if defined(_WIN32) && !defined(__MINGW32__)
#ifdef _WIN32
#include <boost/tr1/tr1/unordered_map>
#elif defined HAVE_UNORDERED_MAP
#include <unordered_map>

@ -31,11 +31,7 @@ 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);
#else
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
#if defined(__MINGW32__) && !defined(__MINGW64__)
#ifdef __MINGW32__
static size_t strnlen(const char *s, size_t n)
{
const char *p = (const char *)memchr(s, 0, n);

Loading…
Cancel
Save