Fixes for compile problems using Visual Studio 6.0

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@137 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2aecf69ee688a51daf8753c0c0759b97ee3d7434
Former-commit-id: 761ac8c3e26d586280a1d8b0d9735a7e302e2148
This commit is contained in:
andrewsumner 2008-11-03 22:50:14 +00:00
parent c6c7e2b48b
commit 1cff825276

View file

@ -647,17 +647,17 @@ windowsSetAffinity(void)
/* Restrict wtorcs.exe to one CPU core/processor - avoids jerky rendering /* Restrict wtorcs.exe to one CPU core/processor - avoids jerky rendering
* especially under Vista. */ * especially under Vista. */
#ifndef ULONG_PTR #ifndef ULONG_PTR
typedef unsigned long ULONG_PTR; typedef unsigned long ULONG_PTR;
#endif #endif
#ifndef PDWORD_PTR #ifndef PDWORD_PTR
#ifndef DWORD_PTR #ifndef DWORD_PTR
typedef ULONG_PTR DWORD_PTR; typedef ULONG_PTR DWORD_PTR;
#endif #endif
typedef DWORD_PTR *PDWORD_PTR; typedef DWORD_PTR *PDWORD_PTR;
#define #endif
HANDLE hProcess = GetCurrentProcess(); HANDLE hProcess = GetCurrentProcess();
ULONG_PTR ProcAM, SysAM; ULONG_PTR ProcAM, SysAM;