Browse Source

remove pch

cxgeorge 24 years ago
parent
commit
12c754efd0

+ 0 - 2
panda/src/chancfg/Sources.pp

@@ -26,8 +26,6 @@
   #define INSTALL_CONFIG \
     layout_db setup_db window_db
 
-//  #define PRECOMPILED_HEADER chancfg_headers.h 
-
   #define IGATESCAN chancfg.h
 
 #end lib_target

+ 1 - 10
panda/src/chancfg/chancfg.cxx

@@ -16,18 +16,8 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#if defined(WIN32_VC) && !defined(NO_PCH)
-#include "chancfg_headers.h"
-#endif
-
-#pragma hdrstop
-
-#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chancfg.h"
 #include <notify.h>
-#endif
-
-#include <algorithm>
 #include <displayRegion.h>
 #include <graphicsChannel.h>
 #include <hardwareChannel.h>
@@ -39,6 +29,7 @@
 #include <dSearchPath.h>
 #include <dconfig.h>
 #include <filename.h>
+#include <algorithm>
 
 Configure(chanconfig);
 

+ 0 - 9
panda/src/chancfg/chanparse.cxx

@@ -16,17 +16,8 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#if defined(WIN32_VC) && !defined(NO_PCH)
-#include "chancfg_headers.h"
-#endif
-
-#pragma hdrstop
-
-#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chanparse.h"
-
 #include <notify.h>
-#endif
 
 const int ChanFileEOF = -1;
 

+ 0 - 9
panda/src/chancfg/chansetup.cxx

@@ -16,19 +16,10 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#if defined(WIN32_VC) && !defined(NO_PCH)
-#include "chancfg_headers.h"
-#endif
-
-#pragma hdrstop
-
-#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chansetup.h"
 #include "chanparse.h"
 #include "chanshare.h"
-
 #include <notify.h>
-#endif
 
 SetupType* SetupDB = (SetupType*)0;
 

+ 0 - 9
panda/src/chancfg/chanwindow.cxx

@@ -16,20 +16,11 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#if defined(WIN32_VC) && !defined(NO_PCH)
-#include "chancfg_headers.h"
-#endif
-
-#pragma hdrstop
-
-#if !defined(WIN32_VC) || defined(NO_PCH)
 #include "chanwindow.h"
 #include "chanparse.h"
 #include "chanshare.h"
 
 #include <notify.h>
-#endif
-
 WindowType* WindowDB = (WindowType*)0;
 
 class WindowParseFunctor : public ChanParseFunctor {