CW Win32 support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
1998-12-21 08:44:48 +00:00
parent 518f33a4e5
commit 469e1e5c35
10 changed files with 1805 additions and 10 deletions

View File

@@ -43,8 +43,13 @@
#endif
#endif
#include <time.h>
#ifndef __MWERKS__
#include <sys/types.h>
#include <sys/stat.h>
#else
#include <stat.h>
#include <unistd.h>
#endif
#ifdef __UNIX__
#include <unistd.h>
@@ -52,7 +57,7 @@
#endif
#ifdef __WINDOWS__
#ifndef __GNUWIN32__
#if !defined( __GNUWIN32__ ) && !defined( __MWERKS__ )
#include <direct.h>
#include <dos.h>
#endif
@@ -1260,7 +1265,7 @@ char *wxGetWorkingDirectory(char *buf, int sz)
{
if (!buf)
buf = new char[sz+1];
#ifdef _MSC_VER
#ifdef _MSC_VER
if (_getcwd(buf, sz) == NULL) {
#else
if (getcwd(buf, sz) == NULL) {