Quick workaround for arm-wince build with Debian cross-compiler packages.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-22 01:56:59 +01:00
parent ba4a686d1c
commit 16b9873fa8
2 changed files with 13 additions and 0 deletions
+5
View File
@@ -577,6 +577,11 @@ unsigned get_ratio(unsigned u_len, unsigned c_len)
extern "C" {
// FIXME - quick hack for arm-wince-gcc-3.4 (Debian pocketpc*.deb packages)
#if 1 && (ACC_ARCH_ARM) && defined(__pe__)
int dup(int fd) { UNUSED(fd); return -1; }
#endif
#if defined(__DJGPP__)
int _is_executable(const char *, int, const char *)
{