Author: akhaldi
Date: Thu Aug 11 15:07:19 2011
New Revision: 53180
URL:
http://svn.reactos.org/svn/reactos?rev=53180&view=rev
Log:
[MSWSOCK]
* Add a PCH.
Added:
trunk/reactos/dll/win32/mswsock/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/mswsock/CMakeLists.txt
trunk/reactos/dll/win32/mswsock/extensions.c
trunk/reactos/dll/win32/mswsock/mswsock.rbuild
trunk/reactos/dll/win32/mswsock/stubs.c
Modified: trunk/reactos/dll/win32/mswsock/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mswsock/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/mswsock/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mswsock/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:07:19 2011
@@ -16,5 +16,6 @@
set_module_type(mswsock win32dll)
add_importlibs(mswsock ws2_32 msvcrt kernel32)
+add_pch(mswsock precomp.h)
add_cd_file(TARGET mswsock DESTINATION reactos/system32 FOR all)
add_importlib_target(mswsock.spec)
Modified: trunk/reactos/dll/win32/mswsock/extensions.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mswsock/extensio…
==============================================================================
--- trunk/reactos/dll/win32/mswsock/extensions.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mswsock/extensions.c [iso-8859-1] Thu Aug 11 15:07:19 2011
@@ -8,9 +8,7 @@
* REVISIONS:
*/
-#include <windows.h>
-#include <winsock2.h>
-#include <mswsock.h>
+#include "precomp.h"
/*
* @implemented
Modified: trunk/reactos/dll/win32/mswsock/mswsock.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mswsock/mswsock.…
==============================================================================
--- trunk/reactos/dll/win32/mswsock/mswsock.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mswsock/mswsock.rbuild [iso-8859-1] Thu Aug 11 15:07:19 2011
@@ -5,4 +5,5 @@
<file>extensions.c</file>
<file>stubs.c</file>
<file>mswsock.rc</file>
+ <pch>precomp.h</pch>
</module>
Added: trunk/reactos/dll/win32/mswsock/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mswsock/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/mswsock/precomp.h (added)
+++ trunk/reactos/dll/win32/mswsock/precomp.h [iso-8859-1] Thu Aug 11 15:07:19 2011
@@ -1,0 +1,6 @@
+#include <windows.h>
+#include <stdlib.h>
+#include <winsock2.h>
+#include <mswsock.h>
+#include <ws2spi.h>
+#include <nspapi.h>
Propchange: trunk/reactos/dll/win32/mswsock/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/mswsock/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mswsock/stubs.c?…
==============================================================================
--- trunk/reactos/dll/win32/mswsock/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mswsock/stubs.c [iso-8859-1] Thu Aug 11 15:07:19 2011
@@ -8,12 +8,7 @@
* REVISIONS:
*/
-#include <windows.h>
-#include <stdlib.h>
-#include <winsock2.h>
-#include <mswsock.h>
-#include <ws2spi.h>
-#include <nspapi.h>
+#include "precomp.h"
typedef DWORD (* LPFN_NSPAPI)(VOID);
typedef struct _NS_ROUTINE {