diff --git a/reactos/tools/rsym/rsym.h b/reactos/tools/rsym/rsym.h index 82261facec3..cae80e7c69a 100644 --- a/reactos/tools/rsym/rsym.h +++ b/reactos/tools/rsym/rsym.h @@ -45,7 +45,7 @@ typedef unsigned char UCHAR; typedef unsigned short WORD; typedef unsigned short USHORT; typedef unsigned long long ULONGLONG; -#if defined(__x86_64__) && defined(unix) +#if defined(__x86_64__) && !defined(_WIN64) typedef signed int LONG; typedef unsigned int ULONG; typedef unsigned int DWORD; @@ -57,7 +57,7 @@ typedef unsigned long DWORD; #if defined(_WIN64) typedef unsigned __int64 ULONG_PTR; #else -#if defined(__x86_64__) && defined(unix) +#if defined(__x86_64__) && !defined(_WIN64) typedef unsigned int ULONG_PTR; #else typedef unsigned long ULONG_PTR;