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