diff --git a/src/windows/windowsspec.cpp b/src/windows/windowsspec.cpp index 634ded9e3..93914eb4c 100644 --- a/src/windows/windowsspec.cpp +++ b/src/windows/windowsspec.cpp @@ -647,17 +647,17 @@ windowsSetAffinity(void) /* Restrict wtorcs.exe to one CPU core/processor - avoids jerky rendering * especially under Vista. */ - #ifndef ULONG_PTR - typedef unsigned long ULONG_PTR; - #endif - - #ifndef PDWORD_PTR - #ifndef DWORD_PTR - typedef ULONG_PTR DWORD_PTR; - #endif - typedef DWORD_PTR *PDWORD_PTR; - #define - +#ifndef ULONG_PTR + typedef unsigned long ULONG_PTR; +#endif + +#ifndef PDWORD_PTR +#ifndef DWORD_PTR + typedef ULONG_PTR DWORD_PTR; +#endif + typedef DWORD_PTR *PDWORD_PTR; +#endif + HANDLE hProcess = GetCurrentProcess(); ULONG_PTR ProcAM, SysAM;