From c6d20104eb1ba2beae266dff7eba655b9ab9576e Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 3 Mar 2012 18:54:47 +0100 Subject: Fix __PCTOOL__ dependencies on SIMULATOR * filesize() is not POSIX, so it doesn't need stubbing or redirecting * make the various directory functions use the sim_ versions for PCTOOL * PCTOOL needs generic byteswap functions * fix the database makefile to not use -DSIMULATOR anymore Change-Id: Ic6abc4f662830b85626c751a472fa4a03e844871 --- uisimulator/common/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator/common/io.c') diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 1df36d3b34..6f9f4b2945 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -517,7 +517,7 @@ long sim_lseek(int fildes, long offset, int whence) return lseek(fildes, offset, whence); } -long sim_filesize(int fd) +long filesize(int fd) { #ifdef WIN32 return _filelength(fd); -- cgit v1.2.3