diff options
| author | Max Horn | 2003-04-30 11:37:10 +0000 | 
|---|---|---|
| committer | Max Horn | 2003-04-30 11:37:10 +0000 | 
| commit | 42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee (patch) | |
| tree | a2b7ba14f7f919987239902e513c1a646ca2e9f8 /backends/PalmOS/Src/missing/_unistd.cpp | |
| parent | 79ebda7613b3280ae644d67af50712deef8819d7 (diff) | |
| download | scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.tar.gz scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.tar.bz2 scummvm-rg350-42f156ddada4c6f51e1612e9b0f18ec7c9dd9cee.zip  | |
started to merge in Chrilith's PalmOS port
svn-id: r7219
Diffstat (limited to 'backends/PalmOS/Src/missing/_unistd.cpp')
| -rw-r--r-- | backends/PalmOS/Src/missing/_unistd.cpp | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/missing/_unistd.cpp b/backends/PalmOS/Src/missing/_unistd.cpp new file mode 100644 index 0000000000..bf4e0da0d9 --- /dev/null +++ b/backends/PalmOS/Src/missing/_unistd.cpp @@ -0,0 +1,14 @@ +#include "unistd.h" +#include "extend.h"	// for SCUMMVM_SAVEPATH + + +// currently used only to retreive savepath +Char *getcwd(Char *buf, UInt32 size) { +	Char *copy = buf; +	 +	if (!copy) +		copy = (Char *)MemPtrNew(StrLen(SCUMMVM_SAVEPATH)); // this may never occured +	 +	StrCopy(copy, SCUMMVM_SAVEPATH); +	return copy; +}
\ No newline at end of file  | 
