/////////////////////////////////////////////////////////////////////////////
// check if to use precompiled headers
-#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__GNUWIN32__)) && defined(__WXMSW__)
+#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__)) && defined(__WXMSW__)
#if !NOPCH
#define WX_PRECOMP
#endif
// Comment this out if you don't mind slower compilation of the wxWindows
// library
-#ifndef __WXMAC__
+#if !defined(__WXMAC__) && !defined(__SALFORDC__)
#include <windows.h>
#endif
#undef FindResource
#endif
+#ifdef LoadAccelerators
+#undef LoadAccelerators
+#endif
+
#else
// always include this file (under Unix it's generated by configure)
#include "wx/setup.h"