[ros-diffs] [tkreuzer] 48125: [rpcndr.h] Add a tag to NDR_SCONTEXT struct. MS headers don't have it, but gcc 4.5.x requires it, because without the tag, the struct would be from an unnamed namespace and can't be shared by different compilation units in C++. Yeah whatever...

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Jul 19 23:47:00 UTC 2010


Author: tkreuzer
Date: Mon Jul 19 23:47:00 2010
New Revision: 48125

URL: http://svn.reactos.org/svn/reactos?rev=48125&view=rev
Log:
[rpcndr.h]
Add a tag to NDR_SCONTEXT struct. MS headers don't have it, but gcc 4.5.x requires it, because without the tag, the struct would be from an unnamed namespace and can't be shared by different compilation units in C++. Yeah whatever...

Modified:
    trunk/reactos/include/psdk/rpcndr.h

Modified: trunk/reactos/include/psdk/rpcndr.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/rpcndr.h?rev=48125&r1=48124&r2=48125&view=diff
==============================================================================
--- trunk/reactos/include/psdk/rpcndr.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/rpcndr.h [iso-8859-1] Mon Jul 19 23:47:00 2010
@@ -128,7 +128,7 @@
    (RpcExceptionCode() == RPC_X_BAD_STUB_DATA) || \
    (RpcExceptionCode() == RPC_S_INVALID_BOUND))
 
-typedef struct
+typedef struct tagNDR_SCONTEXT
 {
   void *pad[2];
   void *userContext;




More information about the Ros-diffs mailing list