Author: akhaldi
Date: Wed Jul 27 19:36:45 2011
New Revision: 52938
URL:
http://svn.reactos.org/svn/reactos?rev=52938&view=rev
Log:
[CDROM]
* Add a PCH.
Added:
trunk/reactos/drivers/storage/class/cdrom/precomp.h (with props)
Modified:
trunk/reactos/drivers/storage/class/cdrom/CMakeLists.txt
trunk/reactos/drivers/storage/class/cdrom/cdrom.c
trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild
trunk/reactos/drivers/storage/class/cdrom/findscsi.c
Modified: trunk/reactos/drivers/storage/class/cdrom/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/CMakeLists.txt [iso-8859-1] Wed Jul 27
19:36:45 2011
@@ -10,4 +10,5 @@
ntoskrnl
hal)
+add_pch(cdrom precomp.h)
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] Wed Jul 27 19:36:45
2011
@@ -6,13 +6,7 @@
* PROGRAMMERS: Based on a source code sample from Microsoft NT4 DDK
*/
-#include <ntddk.h>
-#include <scsi.h>
-#include <ntddscsi.h>
-#include <ntdddisk.h>
-#include <ntddcdrm.h>
-#include <include/class2.h>
-#include <stdio.h>
+#include "precomp.h"
//#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild [iso-8859-1] Wed Jul 27
19:36:45 2011
@@ -10,4 +10,5 @@
<file>cdrom.c</file>
<file>findscsi.c</file>
<file>cdrom.rc</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/drivers/storage/class/cdrom/findscsi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/findscsi.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/findscsi.c [iso-8859-1] Wed Jul 27 19:36:45
2011
@@ -6,13 +6,7 @@
* PROGRAMMERS: Based on a source code sample from Microsoft NT4 DDK
*/
-#include <ntddk.h>
-#include <scsi.h>
-#include <ntddscsi.h>
-#include <ntdddisk.h>
-#include <ntddcdrm.h>
-#include <include/class2.h>
-#include <stdio.h>
+#include "precomp.h"
//#define NDEBUG
#include <debug.h>
Added: trunk/reactos/drivers/storage/class/cdrom/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/precomp.h (added)
+++ trunk/reactos/drivers/storage/class/cdrom/precomp.h [iso-8859-1] Wed Jul 27 19:36:45
2011
@@ -1,0 +1,7 @@
+#include <ntddk.h>
+#include <scsi.h>
+#include <ntddscsi.h>
+#include <ntdddisk.h>
+#include <ntddcdrm.h>
+#include <include/class2.h>
+#include <stdio.h>
Propchange: trunk/reactos/drivers/storage/class/cdrom/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native