From 288d4f8b91cd983893332218daa8c02a618e0c1d Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Fri, 2 Feb 2001 20:48:54 +0000 Subject: [PATCH] minor corrections for CodeWarrior git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/.cvsignore | 2 +- include/wx_cw.pch++ | 4 +++- include/wx_cw_d.pch | 4 +--- include/wx_cw_d.pch++ | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/.cvsignore b/include/.cvsignore index f5eaa1a859..da2f9c00f9 100644 --- a/include/.cvsignore +++ b/include/.cvsignore @@ -1,2 +1,2 @@ Makefile.in - +*.mch diff --git a/include/wx_cw.pch++ b/include/wx_cw.pch++ index 7228505285..6d0f7a586f 100644 --- a/include/wx_cw.pch++ +++ b/include/wx_cw.pch++ @@ -25,4 +25,6 @@ #define wxUSE_GUI 1 #define OLDP2C 1 #include "wx/wx_cw_cm.h" -#include "wx/wxprec.h" \ No newline at end of file +#ifdef WX_PRECOMP + #include "wx/wxprec.h" +#endif diff --git a/include/wx_cw_d.pch b/include/wx_cw_d.pch index 9aa65032de..6ecbb9b5f4 100644 --- a/include/wx_cw_d.pch +++ b/include/wx_cw_d.pch @@ -3,17 +3,15 @@ #else #if __POWERPC__ #pragma precompile_target "wx_PPC_d.mch" - #elif __INTEL__ #pragma precompile_target "wx_x86_d.mch" - #elif __CFM68K__ #pragma precompile_target "wx_cfm_d.mch" - #else #pragma precompile_target "wx_68k_d.mch" #endif #endif + #pragma once on #undef WX_PRECOMP #define __WXDEBUG__ 1 diff --git a/include/wx_cw_d.pch++ b/include/wx_cw_d.pch++ index 20164b5ab3..b10644099d 100644 --- a/include/wx_cw_d.pch++ +++ b/include/wx_cw_d.pch++ @@ -19,5 +19,5 @@ #define OLDP2C 1 #include "wx/wx_cw_cm.h" #ifdef WX_PRECOMP -#include "wx/wxprec.h" + #include "wx/wxprec.h" #endif \ No newline at end of file -- 2.45.2