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
This commit is contained in:
John Peterson 2009-02-24 04:54:00 +00:00
parent d7a762f425
commit af225bc9d2
1 changed files with 15 additions and 0 deletions

View File

@ -18,6 +18,9 @@
#ifndef _THREAD_H #ifndef _THREAD_H
#define _THREAD_H #define _THREAD_H
//////////////////////////////////////////////////////////////////////////////////////////
// Includes
// ------------
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#define THREAD_RETURN DWORD WINAPI #define THREAD_RETURN DWORD WINAPI
@ -32,14 +35,26 @@
#endif #endif
#include "Common.h" #include "Common.h"
///////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
// Definitions
// ------------
// This may not be defined outside _WIN32
#ifndef _WIN32
#ifndef INFINITE
#define INFINITE 0xffffffff
#endif
#endif
// ----------------------------------------- // -----------------------------------------
#ifdef SETUP_TIMER_WAITING #ifdef SETUP_TIMER_WAITING
// ----------------- // -----------------
typedef void (*EventCallBack)(void); typedef void (*EventCallBack)(void);
#endif #endif
// ---------------------- // ----------------------
///////////////////////////////////
namespace Common namespace Common