Author: akhaldi
Date: Sun Jan 26 14:55:05 2014
New Revision: 61831
URL:
http://svn.reactos.org/svn/reactos?rev=61831&view=rev
Log:
[WINSPOOL.DRV]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/dll/win32/winspool/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/winspool/info.c
trunk/reactos/dll/win32/winspool/stubs.c
Modified: trunk/reactos/dll/win32/winspool/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/info.c?…
==============================================================================
--- trunk/reactos/dll/win32/winspool/info.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winspool/info.c [iso-8859-1] Sun Jan 26 14:55:05 2014
@@ -22,30 +22,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#include <wine/config.h>
-//#include "wine/port.h"
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
-//#include <ctype.h>
-//#include <stddef.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-#include <wingdi.h>
+#include "precomp.h"
+
#include <winreg.h>
+#include <winnls.h>
#include <shlwapi.h>
-#include <winspool.h>
-//#include "wine/unicode.h"
+
#include <wine/debug.h>
-#include <winnls.h>
WINE_DEFAULT_DEBUG_CHANNEL(winspool);
Added: trunk/reactos/dll/win32/winspool/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/precomp…
==============================================================================
--- trunk/reactos/dll/win32/winspool/precomp.h (added)
+++ trunk/reactos/dll/win32/winspool/precomp.h [iso-8859-1] Sun Jan 26 14:55:05 2014
@@ -0,0 +1,17 @@
+#ifndef _WINSPOOL_DRV_PCH_
+#define _WINSPOOL_DRV_PCH_
+
+#include <wine/config.h>
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <winspool.h>
+
+#endif /* _WINSPOOL_DRV_PCH_ */
Propchange: trunk/reactos/dll/win32/winspool/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/winspool/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/stubs.c…
==============================================================================
--- trunk/reactos/dll/win32/winspool/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winspool/stubs.c [iso-8859-1] Sun Jan 26 14:55:05 2014
@@ -7,12 +7,9 @@
* REVISIONS:
*/
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
+#include "precomp.h"
+
#include <winuser.h>
-#include <wingdi.h>
-#include <winspool.h>
/*
* @unimplemented