1
0
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:
wraitii 2019-08-12 12:56:32 +00:00
parent 353c415072
commit 07dfacdc67
4 changed files with 9 additions and 8 deletions

View File

@ -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);

View File

@ -23,6 +23,7 @@
#include "TextureManager.h"
#include <mutex>
#include <thread>
class MD5;

View File

@ -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

View File

@ -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
{