forked from 0ad/0ad
Fix build without precompiled headers in 107d3d461f
.
Also remove an un-needed variable. Patch by: elexis This was SVN commit r22652.
This commit is contained in:
parent
353c415072
commit
07dfacdc67
@ -286,8 +286,6 @@ CTextureConverter::CTextureConverter(PIVFS vfs, bool highQuality) :
|
||||
|
||||
// Set up the worker thread:
|
||||
|
||||
int ret;
|
||||
|
||||
// Use SDL semaphores since OS X doesn't implement sem_init
|
||||
m_WorkerSem = SDL_CreateSemaphore(0);
|
||||
ENSURE(m_WorkerSem);
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
#include "TextureManager.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
class MD5;
|
||||
|
@ -27,16 +27,18 @@
|
||||
#include "precompiled.h"
|
||||
#include "lib/timer.h"
|
||||
|
||||
#include <sstream> // std::stringstream
|
||||
#include <numeric>
|
||||
#include <cmath>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <cstdarg>
|
||||
#include <mutex>
|
||||
#include <numeric>
|
||||
#include <sstream> // std::stringstream
|
||||
|
||||
#include "lib/module_init.h"
|
||||
#include "lib/posix/posix_pthread.h"
|
||||
#include "lib/posix/posix_time.h"
|
||||
# include "lib/sysdep/cpu.h"
|
||||
#include "lib/sysdep/cpu.h"
|
||||
|
||||
#if OS_WIN
|
||||
# include "lib/sysdep/os/win/whrt/whrt.h"
|
||||
#endif
|
||||
|
@ -17,8 +17,6 @@
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "GameLoop.h"
|
||||
|
||||
#include "MessagePasserImpl.h"
|
||||
@ -45,6 +43,8 @@
|
||||
|
||||
using namespace AtlasMessage;
|
||||
|
||||
#include <thread>
|
||||
|
||||
|
||||
namespace AtlasMessage
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user