git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5408
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/intl.h"
#include <ctype.h>
#include "wx/intl.h"
#include <ctype.h>
+#ifdef __EMX__
+#include <dirent.h>
+#else
#define INCL_GPI
#include <os2.h>
#define PURE_32
#define INCL_GPI
#include <os2.h>
#define PURE_32
#include <upm.h>
#include <netcons.h>
#include <netbios.h>
#include <upm.h>
#include <netcons.h>
#include <netbios.h>
static const wxChar WX_SECTION[] = _T("wxWindows");
static const wxChar eHOSTNAME[] = _T("HostName");
static const wxChar WX_SECTION[] = _T("wxWindows");
static const wxChar eHOSTNAME[] = _T("HostName");
long lrc;
// UPM procs return 0 on success
lrc = U32ELOCU((unsigned char*)zBuf, (unsigned long *)&nType);
if (lrc == 0) return TRUE;
long lrc;
// UPM procs return 0 on success
lrc = U32ELOCU((unsigned char*)zBuf, (unsigned long *)&nType);
if (lrc == 0) return TRUE;
wxString sUser1(rUser);
wxBuffer = new wxChar[256];
wxString sUser1(rUser);
wxBuffer = new wxChar[256];
if (sUser1 != _T(""))
{
wxChar zTmp[64];
if (sUser1 != _T(""))
{
wxChar zTmp[64];
if (sUser1 == _T(""))
{
if ((zHome = wxGetenv(_T("HOME"))) != NULL)
if (sUser1 == _T(""))
{
if ((zHome = wxGetenv(_T("HOME"))) != NULL)