[MSIEXEC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 13:08:47 +0000 (13:08 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 13:08:47 +0000 (13:08 +0000)
* Create a main header and move some inclusions to it.
CORE-7716

svn path=/trunk/; revision=61613

reactos/base/system/msiexec/msiexec.c
reactos/base/system/msiexec/precomp.h [new file with mode: 0644]
reactos/base/system/msiexec/service.c

index fe43efd..9ae87ce 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
+#include "precomp.h"
+
 #include <winreg.h>
-#include <winsvc.h>
 #include <winuser.h>
 #include <msi.h>
 #include <objbase.h>
-#include <stdio.h>
 
-#include <wine/debug.h>
 #include <wine/unicode.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
-
 typedef HRESULT (WINAPI *DLLREGISTERSERVER)(void);
 typedef HRESULT (WINAPI *DLLUNREGISTERSERVER)(void);
 
diff --git a/reactos/base/system/msiexec/precomp.h b/reactos/base/system/msiexec/precomp.h
new file mode 100644 (file)
index 0000000..cc81d63
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _MSIEXEC_PCH_
+#define _MSIEXEC_PCH_
+
+#include <stdio.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <winsvc.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
+
+#endif /* _MSIEXEC_PCH_ */
index 1edfa46..47a2859 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winsvc.h>
-#include <stdio.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
+#include "precomp.h"
 
 static SERVICE_STATUS_HANDLE hstatus;