From: Julian Smart Date: Fri, 11 Feb 2005 09:20:59 +0000 (+0000) Subject: Avoid double-define on WinCE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/93710ae8e6efc972e3526aacdf3cee08819146fe Avoid double-define on WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 900ef4fdef..796074690d 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -46,8 +46,10 @@ #ifdef __WXWINCE__ // there is no ExitProcess() under CE but exiting the main thread has the // same effect +#ifndef ExitProcess #define ExitProcess ExitThread #endif +#endif #ifdef __BORLANDC__ // BC++ has to be special: its run-time expects the DLL entry point to be