unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-13 00:16:54 +00:00
parent 3d84f97e52
commit 7ae8234630

View File

@@ -709,15 +709,15 @@ wxDialUpManagerImpl::CheckIfconfig()
#if defined(__SOLARIS__) || defined (__SUNOS__)
// dialup device under SunOS/Solaris
hasModem = strstr(output,"ipdptp") != (char *)NULL;
hasLAN = strstr(output, "hme") != (char *)NULL;
hasModem = wxStrstr(output, _T("ipdptp")) != NULL;
hasLAN = wxStrstr(output, _T("hme")) != NULL;
#elif defined(__LINUX__) || defined (__FREEBSD__)
hasModem = strstr(output,"ppp") // ppp
|| strstr(output,"sl") // slip
|| strstr(output,"pl"); // plip
hasLAN = strstr(output, "eth") != NULL;
hasModem = wxStrstr(output, _T("ppp")) // ppp
|| wxStrstr(output, _T("sl")) // slip
|| wxStrstr(output, _T("pl")); // plip
hasLAN = wxStrstr(output, _T("eth")) != NULL;
#elif defined(__SGI__) // IRIX
hasModem = strstr(output, "ppp") != NULL; // PPP
hasModem = wxStrstr(output, _T("ppp")) != NULL; // PPP
#elif defined(__HPUX__)
// if could run ifconfig on interface, then it exists
hasModem = TRUE;