Added a bug report; C++Builder compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-11-11 11:01:28 +00:00
parent 1c6fb09fe2
commit cf1d22d685
3 changed files with 28 additions and 2 deletions

View File

@@ -411,6 +411,13 @@
#define wxUSE_ODBC 0
#endif
// With C++Builder we get lots of doubly-defined symbols
// when including both winsock.h and winsock2.h
#if defined(__BORLANDC__) && (__BORLANDC__ == 0x530)
#undef wxUSE_SOCKETS
#undef wxUSE_SOCKETS 0
#endif
#if defined(__WXMSW__) && defined(__WATCOMC__)
#undef wxUSE_LIBJPEG
#define wxUSE_LIBJPEG 0