Fixed SDL build with mingw. In particular, replaced boost dependency by c++11.
This commit is contained in:
@@ -23,7 +23,7 @@ std::string ToHex(T* pointer)
|
||||
return stream.str();
|
||||
}
|
||||
|
||||
#ifdef LINUX
|
||||
#if defined(LINUX) && !defined(OutputDebugString)
|
||||
#define OutputDebugString(val) (std::cerr << val);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user