[FONTEXT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 15:11:55 +0000 (15:11 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 28 Jul 2011 15:11:55 +0000 (15:11 +0000)
* Use fontext.h as a PCH.

svn path=/trunk/; revision=52971

reactos/dll/shellext/fontext/CMakeLists.txt
reactos/dll/shellext/fontext/fontext.h
reactos/dll/shellext/fontext/fontext.rbuild
reactos/dll/shellext/fontext/regsvr.c

index cd57d0e..b4d7e43 100644 (file)
@@ -25,4 +25,5 @@ add_importlibs(fontext
     kernel32
     ntdll)
 
+add_pch(fontext fontext.h)
 add_cd_file(TARGET fontext DESTINATION reactos/system32 FOR all)
index c62ce1c..aa965a6 100644 (file)
@@ -1,9 +1,7 @@
-#pragma once
-
 #define COBJMACROS
 #include <windows.h>
 #include <tchar.h>
 #include <stdio.h>
 #include <shlobj.h>
-
+#include <ole2.h>
 #include <debug.h>
index c46abf4..5b2e364 100644 (file)
@@ -13,4 +13,5 @@
        <file>fontext.c</file>
        <file>regsvr.c</file>
        <file>fontext.rc</file>
+       <pch>fontext.h</pch>
 </module>
index b3f21df..5cc6344 100644 (file)
@@ -8,10 +8,7 @@
  *      10-06-2008  Created
  */
 
-#include <windows.h>
-#include <ole2.h>
-
-#include <fontext.h>
+#include "fontext.h"
 
 static HRESULT
 REGSVR_RegisterServer()