summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-03-03 18:54:47 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-03-03 18:54:47 +0100
commitc6d20104eb1ba2beae266dff7eba655b9ab9576e (patch)
tree3d09bf6bb74b4d5a065c12ad732b76c68b28d340 /firmware/export
parentf7a4ee2ddce3e32551e209cccaf19d6d0f041600 (diff)
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
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index d34ff995f7..b33edc6d3e 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -191,6 +191,8 @@ enum {
#elif defined(HAVE_SDL) /* SDL build */
#include "system-sdl.h"
#define NEED_GENERIC_BYTESWAPS
+#elif defined(__PCTOOL__)
+#define NEED_GENERIC_BYTESWAPS
#endif
#include "bitswap.h"