summaryrefslogtreecommitdiffstats
path: root/rbutil/mktccboot/mktccboot.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-04 21:56:40 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-04 21:56:40 +0000
commit20f3e646d8d5f41f009493ee8b193dd75436afbc (patch)
tree147c0fb8a7f957b49bcc3e79f640776686617a06 /rbutil/mktccboot/mktccboot.h
parente9c900d09de17eb4367a607b723b77e7228d3cee (diff)
downloadrockbox-20f3e646d8d5f41f009493ee8b193dd75436afbc.tar.gz
rockbox-20f3e646d8d5f41f009493ee8b193dd75436afbc.tar.bz2
rockbox-20f3e646d8d5f41f009493ee8b193dd75436afbc.zip
Clean up mktccboot building. No functional changes.
- Adjust the Makefile similar to the changes done in r23520. - Split out the standalone part into a separate source file. - Put telechips.o inside the archive instead of building it separately for rbutil. It is part of mktccboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/mktccboot/mktccboot.h')
-rw-r--r--rbutil/mktccboot/mktccboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/mktccboot/mktccboot.h b/rbutil/mktccboot/mktccboot.h
index 2df2c54506..17179c11e7 100644
--- a/rbutil/mktccboot/mktccboot.h
+++ b/rbutil/mktccboot/mktccboot.h
@@ -25,6 +25,11 @@
#ifndef _MKTCCBOOT_H_
#define _MKTCCBOOT_H_
+/* win32 compatibility */
+#ifndef O_BINARY
+#define O_BINARY 0
+
+#endif
#ifdef __cplusplus
extern "C" {
#endif