From 8536082d32419aaeb7167562fea63ce8e9d2659f Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Fri, 7 Jan 2000 10:22:15 +0000 Subject: [PATCH] fix _beginthreadex problem with bcc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/thread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 21682d45a5..ac600434e9 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -48,6 +48,12 @@ #define __MT__ #endif +#if defined(__BORLANDC__) && !defined(__MFC_COMPAT__) +// Needed to know about _beginthreadex etc.. +#define __MFC_COMPAT__ +#endif + + #include #endif