Author: hpoussin
Date: Sun Feb 10 22:43:05 2008
New Revision: 32273
URL: http://svn.reactos.org/svn/reactos?rev=32273&view=rev
Log:
Revert r32271 ; I thought we decided to remove hacks instead of adding new ones!
Correct fix will follow.
Modified:
trunk/reactos/include/ddk/unknown.h
Modified: trunk/reactos/include/ddk/unknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/unknown.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/unknown.h (original)
+++ trunk/reactos/include/ddk/unknown.h Sun Feb 10 22:43:05 2008
@@ -1,7 +1,5 @@
-#ifndef _UNKNOWN_H_
-#define _UNKNOWN_H_
-#ifndef __WIDL_UNKNWN_H
-#define __WIDL_UNKNWN_H /* hack if psdk unknown.h have been included */
+#ifndef __unknwn_h__
+#define __unknwn_h__
#ifdef __cplusplus
extern "C" {
@@ -54,6 +52,5 @@
IN POOL_TYPE PoolType
);
-#endif // __WIDL_UNKNWN_H /* hack if psdk unknown.h have been included */
#endif
Author: greatlrd
Date: Sun Feb 10 22:40:36 2008
New Revision: 32272
URL: http://svn.reactos.org/svn/reactos?rev=32272&view=rev
Log:
remove my hack in wtype.ldl I should not coding when i start fall into sleep
sorry and thx fireball
Modified:
trunk/reactos/include/psdk/wtypes.idl
Modified: trunk/reactos/include/psdk/wtypes.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wtypes.idl?re…
==============================================================================
--- trunk/reactos/include/psdk/wtypes.idl (original)
+++ trunk/reactos/include/psdk/wtypes.idl Sun Feb 10 22:40:36 2008
@@ -29,9 +29,6 @@
interface IWinTypes
{
-cpp_quote("#ifndef __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
-cpp_quote("#define __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
-
/******************** BASIC WIN32 TYPES ********************/
cpp_quote("#if 0 /* winnt.h */") /* don't redefine these */
@@ -815,5 +812,4 @@
} ByObjectId;
} uCLSSPEC;
-cpp_quote("#endif") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
} /* interface IWinTypes */
Author: greatlrd
Date: Sun Feb 10 22:25:42 2008
New Revision: 32271
URL: http://svn.reactos.org/svn/reactos?rev=32271&view=rev
Log:
some case psdk unknown.h being include when it should be ddk version
for now we do not double inlcude the ddk version for ksfilter.
Modified:
trunk/reactos/include/ddk/unknown.h
Modified: trunk/reactos/include/ddk/unknown.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/unknown.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/unknown.h (original)
+++ trunk/reactos/include/ddk/unknown.h Sun Feb 10 22:25:42 2008
@@ -1,5 +1,7 @@
#ifndef _UNKNOWN_H_
#define _UNKNOWN_H_
+#ifndef __WIDL_UNKNWN_H
+#define __WIDL_UNKNWN_H /* hack if psdk unknown.h have been included */
#ifdef __cplusplus
extern "C" {
@@ -51,5 +53,7 @@
IN PUNKNOWN OuterUnknown,
IN POOL_TYPE PoolType
);
+
+#endif // __WIDL_UNKNWN_H /* hack if psdk unknown.h have been included */
#endif
Author: greatlrd
Date: Sun Feb 10 21:35:20 2008
New Revision: 32269
URL: http://svn.reactos.org/svn/reactos?rev=32269&view=rev
Log:
Fix a comptaible issue with dxsdk and vc, our dxsdk want the name #define __wtypes_h__ (same as windows psdk)
this fix a comptiable issue with vc as well, wine ldl can not name a idl correct so I hardcode in this name
Modified:
trunk/reactos/include/psdk/wtypes.idl
Modified: trunk/reactos/include/psdk/wtypes.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wtypes.idl?re…
==============================================================================
--- trunk/reactos/include/psdk/wtypes.idl (original)
+++ trunk/reactos/include/psdk/wtypes.idl Sun Feb 10 21:35:20 2008
@@ -29,6 +29,9 @@
interface IWinTypes
{
+cpp_quote("#ifndef __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
+cpp_quote("#define __wtypes_h__ ") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
+
/******************** BASIC WIN32 TYPES ********************/
cpp_quote("#if 0 /* winnt.h */") /* don't redefine these */
@@ -812,4 +815,5 @@
} ByObjectId;
} uCLSSPEC;
+cpp_quote("#endif") /* fix compatible issue with VC and dxsdk use same name as ms __wtypes_h__*/
} /* interface IWinTypes */