Fixed SDL build with mingw. In particular, replaced boost dependency by c++11.

This commit is contained in:
xawotihs
2013-12-08 22:30:25 +01:00
parent 3af4546ef7
commit 28ec24430d
9 changed files with 65 additions and 14 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#ifndef THREADING_H
#define THREADING_H
#if !defined(PSP) && !defined(QT_CONFIG) && !defined(WP8)
#if !defined(PSP) && !defined(QT_CONFIG) && !defined(WP8) && !(defined(SDL_CONFIG) && defined(__MINGW32__))
#include <boost/date_time.hpp>
#ifdef WIN32
@@ -537,7 +537,7 @@ namespace boost
}
}
#elif defined(WP8)
#elif defined(WP8) || (defined(SDL_CONFIG) && defined(__MINGW32__))
#include <thread>
#include <mutex>