Author: ros-arm-bringup
Date: Thu Oct 15 06:34:47 2009
New Revision: 43474
URL: http://svn.reactos.org/svn/reactos?rev=43474&view=rev
Log:
- unix is one of many platforms that use LP64, so instead of defining every single possible OS which uses LP64, how about we define the *only* OS that uses LLP64: Win64.
- Fixes building on BSD and Solaris.
Modified:
trunk/reactos/tools/rsym/rsym.h
Modified: trunk/reactos/tools/rsym/rsym.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rsym/rsym.h?rev=4347…
==============================================================================
--- trunk/reactos/tools/rsym/rsym.h [iso-8859-1] (original)
+++ trunk/reactos/tools/rsym/rsym.h [iso-8859-1] Thu Oct 15 06:34:47 2009
@@ -45,7 +45,7 @@
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 @@
#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;