X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c25a510b30bd87f26deaf3532a48d29a158f0aea..66b6b04535cf261b7bae7da77332835b242abd04:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index cbf2e82cb9..c23defa839 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -38,24 +38,24 @@ #include "wx/event.h" #endif -#ifndef wxUSE_DYNLIB_CLASS -#error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp. +#include "wx/msw/private.h" // must be before #include "dynlib.h" + +#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__) && !defined(__GNUWIN32__) +// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h +#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__) #include #include #include -#include "wx/msw/private.h" - // ---------------------------------------------------------------------------- // constants // ----------------------------------------------------------------------------