AmigaOS 68k build fixes by Artur Jarosik. Thanks!

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-05-03 17:45:10 +00:00
parent 6f37000cd5
commit e5fc3a9ef3
9 changed files with 39 additions and 46 deletions

View File

@@ -5,7 +5,7 @@
#include <string.h>
#include <unistd.h>
#if defined(__AROS__) || defined(__BEOS__) || defined(__MORPHOS__) || defined(__GP2X__)
#if defined(__AROS__) || defined(__BEOS__) || defined(__MORPHOS__) || defined(__GP2X__) || defined(__amigaos__)
// These platforms don't have realpath().
// We use the following implementation, found in:
// http://amiga.sourceforge.net/amigadevhelp/FUNCTIONS/GeekGadgets/realpath/ex02_realpath.c
@@ -52,7 +52,7 @@
if (chdir(path)) {
if (errno == ENOTDIR) {
#if defined(__WIN32__) || defined(__MORPHOS__)
#if defined(__WIN32__) || defined(__MORPHOS__) || defined(__amigaos__)
// No symbolic links and no readlink()
l = -1;
#else