]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / src / msw / dialup.cpp
index d0163f9dde4389054a54890239e3e8a057574e44..aad71498674c56bad8327b8cff4fefb7f415c266 100644 (file)
     #include "wx/event.h"
 #endif
 
+#if !wxUSE_DYNLIB_CLASS
+    #error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp.
+#endif
+
 #include "wx/dynlib.h"
 
 #include "wx/dialup.h"
 
-// Doesn't yet compile under BC++ nor with mingw: no wininet.h
-#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__)
+// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h
+#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__)
 
 #include <ras.h>
 #include <raserror.h>