Author: akhaldi
Date: Mon Jun 7 23:15:05 2010
New Revision: 47681
URL:
http://svn.reactos.org/svn/reactos?rev=47681&view=rev
Log:
[PSDK]
- Fix a "FIXME! HACK!!!"
Modified:
branches/header-work/include/psdk/basetsd.h
branches/header-work/include/psdk/ntdef.h
Modified: branches/header-work/include/psdk/basetsd.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/psdk/basets…
==============================================================================
--- branches/header-work/include/psdk/basetsd.h [iso-8859-1] (original)
+++ branches/header-work/include/psdk/basetsd.h [iso-8859-1] Mon Jun 7 23:15:05 2010
@@ -13,6 +13,32 @@
#ifndef __int64
#define __int64 long long
#endif
+#endif
+
+#if defined(_MSC_VER) && (_MSC_VER < 1300)
+#error Old MSVC compiler version.
+#endif
+
+#ifdef _MAC
+#error Not supported.
+#endif
+
+#if !defined(MIDL_PASS) && !defined(RC_INVOKED)
+ #define POINTER_64 __ptr64
+ #if defined(_WIN64)
+ #define POINTER_32 __ptr32
+ #else
+ #define POINTER_32
+ #endif
+#else
+ #define POINTER_64
+ #define POINTER_32
+#endif /* !defined(MIDL_PASS) && !defined(RC_INVOKED) */
+
+#if defined(_M_MRX000) || defined(_M_AMD64) || defined(_M_IA64)
+ typedef unsigned __int64 POINTER_64_INT;
+#else
+ typedef unsigned long POINTER_64_INT;
#endif
#if defined(_WIN64)
Modified: branches/header-work/include/psdk/ntdef.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/psdk/ntdef.…
==============================================================================
--- branches/header-work/include/psdk/ntdef.h [iso-8859-1] (original)
+++ branches/header-work/include/psdk/ntdef.h [iso-8859-1] Mon Jun 7 23:15:05 2010
@@ -19,8 +19,6 @@
#define __GNU_EXTENSION
#endif
#endif
-
-typedef unsigned long POINTER_64; // FIXME! HACK!!!
/* Pseudo Modifiers for Input Parameters */