2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Fix compiling.

This commit is contained in:
Darryl Pogue
2012-03-10 19:16:52 -08:00
parent b7035a631e
commit a28213806f
4 changed files with 5 additions and 6 deletions

View File

@ -350,7 +350,7 @@ static void RequestNextManifestFile () {
if (!manifestQueue.size())
return;
ManifestFile* nextFile = manifestQueue.front();
ManifestFile* nextfile = manifestQueue.front();
manifestQueue.pop();
char path[MAX_PATH];
@ -920,7 +920,7 @@ void UruPrepProc (void * param) {
while (manifestQueue.size())
{
ManifestFile* mf = manifestQueue.front()
ManifestFile* mf = manifestQueue.front();
manifestQueue.pop();
delete mf;
}

View File

@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
***/
#include "Pch.h"
#include "hsThread.h"
#pragma hdrstop

View File

@ -258,7 +258,7 @@ void DebugMsg(const char fmt[], ...);
***/
// *value += increment; return original value of *value; thread safe
long AtomicAdd(long* value, long increment) {
inline long AtomicAdd(long* value, long increment) {
#ifdef HS_BUILD_FOR_WIN32
return InterlockedExchangeAdd(value, increment);
#elif HS_BUILD_FOR_UNIX
@ -269,7 +269,7 @@ long AtomicAdd(long* value, long increment) {
}
// *value = value; return original value of *value; thread safe
long AtomicSet(long* value, long set) {
inline long AtomicSet(long* value, long set) {
#ifdef HS_BUILD_FOR_WIN32
return InterlockedExchange(value, set);
#elif HS_BUILD_FOR_UNIX

View File

@ -222,8 +222,6 @@ static void INtOpDispatch (
//===========================================================================
static unsigned THREADCALL NtWorkerThreadProc (AsyncThread * thread) {
ThreadDenyBlock();
unsigned sleepMs = INFINITE;
while (s_running) {