[PSDK]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 23 Nov 2010 11:47:50 +0000 (11:47 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 23 Nov 2010 11:47:50 +0000 (11:47 +0000)
Don't define __in and __null on c++ build. as long as we keep using host headers, this won't work

svn path=/trunk/; revision=49723

reactos/include/psdk/specstrings.h

index 568bb98..de2c0ba 100644 (file)
@@ -29,7 +29,9 @@
 #define __deref_opt_in_bcount_opt(size)
 #define __out_awcount(expr,size)
 #define __in_awcount(expr,size)
+#ifndef __cplusplus
 #define __null
+#endif
 #define __notnull
 #define __maybenull
 #define __readonly
@@ -64,7 +66,9 @@
 #define __inner_data_entrypoint(category)
 #define __ecount(size)
 #define __bcount(size)
+#ifndef __cplusplus
 #define __in
+#endif
 #define __in_opt
 #define __in_nz
 #define __in_nz_opt
 #define __analysis_assume(expr)
 #endif
 
+//#endif