]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/setup0.h
it didn't compile at all...
[wxWidgets.git] / include / wx / msw / setup0.h
index bcf7216e306a467ea2cdd474c53eabec66705393..d76043d8723cbedd2848043ad537f2b30f876832 100644 (file)
 #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