]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
assorted files I forgot to commit before
[wxWidgets.git] / src / msw / thread.cpp
index a7aff134f26274642516379f652b072668492c72..ac600434e9e7c561be8265db2635984639c2d4ae 100644 (file)
 #endif
 
 #if defined(__VISUALC__) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x500))
+
+#if defined(__BORLANDC__) && !defined(__MT__)
+// I can't set -tWM in the IDE (anyone?) so have to do this
+#define __MT__
+#endif
+
+#if defined(__BORLANDC__) && !defined(__MFC_COMPAT__)
+// Needed to know about _beginthreadex etc..
+#define __MFC_COMPAT__
+#endif
+
+
     #include <process.h>
 #endif