Portability fixes.

This commit is contained in:
Markus F.X.J. Oberhumer
2007-01-10 17:16:59 +01:00
parent a354f18a2d
commit 0b988176fa
15 changed files with 45 additions and 23 deletions
+5
View File
@@ -582,6 +582,11 @@ extern "C" {
int dup(int fd) { UNUSED(fd); return -1; }
#endif
// FIXME - quick hack for wrt54gl
#if 1 && (ACC_ARCH_MIPS) && (ACC_OS_POSIX_LINUX) && (ACC_LIBC_UCLIBC)
clock_t clock(void) { return 0; }
#endif
#if defined(__DJGPP__)
int _is_executable(const char *, int, const char *)
{