Author: ktietz
Date: Sun Feb 28 10:12:16 2010
New Revision: 45719
URL: http://svn.reactos.org/svn/reactos?rev=45719&view=rev
Log:
Add __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and the use of 'long long' in ISO C/C++.
Modified:
branches/header-work/include/crt/_mingw.h
Modified: branches/header-work/include/crt/_mingw.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/crt/_mingw.…
==============================================================================
--- branches/header-work/include/crt/_mingw.h [iso-8859-1] (original)
+++ branches/header-work/include/crt/_mingw.h [iso-8859-1] Sun Feb 28 10:12:16 2010
@@ -135,6 +135,14 @@
/* TODO: Mark (almost) all CRT functions as __MINGW_NOTHROW. This will
allow GCC to optimize away some EH unwind code, at least in DW2 case. */
+#ifndef __MINGW_EXTENSION
+#if defined(__GNUC__) || defined(__GNUG__)
+#define __MINGW_EXTENSION __extension__
+#else
+#define __MINGW_EXTENSION
+#endif
+#endif
+
#ifndef __MSVCRT_VERSION__
/* High byte is the major version, low byte is the minor. */
# define __MSVCRT_VERSION__ 0x0700
Author: ekohl
Date: Sun Feb 28 01:50:47 2010
New Revision: 45716
URL: http://svn.reactos.org/svn/reactos?rev=45716&view=rev
Log:
[SERVICES]
- Copy service status only once after a control packet has been sent to a service.
- Send a reply packet to the service manager after a control packet has been sent to a service.
Modified:
trunk/reactos/include/reactos/services/services.h
Modified: trunk/reactos/include/reactos/services/services.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/services/s…
==============================================================================
--- trunk/reactos/include/reactos/services/services.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/services/services.h [iso-8859-1] Sun Feb 28 01:50:47 2010
@@ -19,6 +19,11 @@
WCHAR szArguments[1];
} SCM_CONTROL_PACKET, *PSCM_CONTROL_PACKET;
+typedef struct _SCM_REPLY_PACKET
+{
+ DWORD dwError;
+} SCM_REPLY_PACKET, *PSCM_REPLY_PACKET;
+
#endif /* __SERVICES_SERVICES_H__ */
/* EOF */