Author: gadamopoulos
Date: Thu Jul 29 14:40:21 2010
New Revision: 48355
URL:
http://svn.reactos.org/svn/reactos?rev=48355&view=rev
Log:
[basetsd.h]
-define SHANDLE_PTR
[browseui]
-do not define SHANDLE_PTR locally. Using ms psdk isn't the same with compiling with
msvc
Modified:
trunk/reactos/dll/win32/browseui/shellbrowser.cpp
trunk/reactos/include/psdk/basetsd.h
Modified: trunk/reactos/dll/win32/browseui/shellbrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/shellbr…
==============================================================================
--- trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Thu Jul 29 14:40:21
2010
@@ -122,10 +122,6 @@
"processorArchitecture='*' "\
"publicKeyToken='6595b64144ccf1df' "\
"language='*'\"")
-#endif // __GNUC__
-
-#ifdef __GNUC__
-#define SHANDLE_PTR LONG
#endif // __GNUC__
struct categoryCacheHeader
Modified: trunk/reactos/include/psdk/basetsd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/basetsd.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/basetsd.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/basetsd.h [iso-8859-1] Thu Jul 29 14:40:21 2010
@@ -126,6 +126,7 @@
typedef unsigned __int64 HANDLE_PTR;
typedef unsigned int UHALF_PTR, *PUHALF_PTR;
typedef int HALF_PTR, *PHALF_PTR;
+typedef __int64 SHANDLE_PTR;
#if !defined(__midl) && !defined(__WIDL__)
static inline unsigned long HandleToUlong(const void* h )
@@ -174,6 +175,7 @@
typedef unsigned short UHALF_PTR, *PUHALF_PTR;
typedef short HALF_PTR, *PHALF_PTR;
+typedef long SHANDLE_PTR;
#ifndef HANDLE_PTR_DEFINED
#define HANDLE_PTR_DEFINED