From af225bc9d2f8c5a2e8fb5d4760020ed6743575e7 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 24 Feb 2009 04:54:00 +0000 Subject: [PATCH] Last Commit (Threads and Stop): Another Linux build fix, hopefully it works now git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2404 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Thread.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Source/Core/Common/Src/Thread.h b/Source/Core/Common/Src/Thread.h index 10bbfdcbd9..fd3c588c19 100644 --- a/Source/Core/Common/Src/Thread.h +++ b/Source/Core/Common/Src/Thread.h @@ -18,6 +18,9 @@ #ifndef _THREAD_H #define _THREAD_H +////////////////////////////////////////////////////////////////////////////////////////// +// Includes +// ------------ #ifdef _WIN32 #include #define THREAD_RETURN DWORD WINAPI @@ -32,14 +35,26 @@ #endif #include "Common.h" +/////////////////////////////////// +////////////////////////////////////////////////////////////////////////////////////////// +// Definitions +// ------------ +// This may not be defined outside _WIN32 +#ifndef _WIN32 + #ifndef INFINITE + #define INFINITE 0xffffffff + #endif +#endif + // ----------------------------------------- #ifdef SETUP_TIMER_WAITING // ----------------- typedef void (*EventCallBack)(void); #endif // ---------------------- +/////////////////////////////////// namespace Common