[ros-diffs] [gadamopoulos] 48376: [browseui] - keep the hacky declaration of SHANDLE_PTR and make it work with msvc as well - Make BEGIN_MSG_MAP compatible with msvc

gadamopoulos at svn.reactos.org gadamopoulos at svn.reactos.org
Sat Jul 31 07:53:07 UTC 2010


Author: gadamopoulos
Date: Sat Jul 31 07:53:06 2010
New Revision: 48376

URL: http://svn.reactos.org/svn/reactos?rev=48376&view=rev
Log:
[browseui]
- keep the hacky declaration of SHANDLE_PTR and make it work with msvc as well
- Make BEGIN_MSG_MAP compatible with msvc

Modified:
    trunk/reactos/dll/win32/browseui/shellbrowser.cpp
    trunk/reactos/lib/atl/atlwin.h

Modified: trunk/reactos/dll/win32/browseui/shellbrowser.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/shellbrowser.cpp?rev=48376&r1=48375&r2=48376&view=diff
==============================================================================
--- trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Sat Jul 31 07:53:06 2010
@@ -124,9 +124,7 @@
     "language='*'\"")
 #endif // __GNUC__
 
-#ifdef __GNUC__
 #define SHANDLE_PTR LONG
-#endif // __GNUC__
 
 struct categoryCacheHeader
 {

Modified: trunk/reactos/lib/atl/atlwin.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlwin.h?rev=48376&r1=48375&r2=48376&view=diff
==============================================================================
--- trunk/reactos/lib/atl/atlwin.h [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlwin.h [iso-8859-1] Sat Jul 31 07:53:06 2010
@@ -24,7 +24,7 @@
 #define GCCU(x)	x __attribute__((unused))
 #define Unused(x)
 #else
-#define GCCU(x)
+#define GCCU(x) x
 #define Unused(x)	(x);
 #endif // __GNUC__
 




More information about the Ros-diffs mailing list