forked from len0rd/rockbox
Make rbutil compile on Mac OS X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dde262b58a
commit
0658dce706
3 changed files with 4 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ DESTDIR =
|
||||||
WX_RELEASE = 2.8
|
WX_RELEASE = 2.8
|
||||||
WX_VERSION = $(WX_RELEASE).0
|
WX_VERSION = $(WX_RELEASE).0
|
||||||
LIBDIRNAME = $(wx_top_builddir)/lib
|
LIBDIRNAME = $(wx_top_builddir)/lib
|
||||||
RBUTIL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
|
RBUTIL_CXXFLAGS = -DRBUTIL -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
|
||||||
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
|
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
|
||||||
-I$(srcdir) $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
|
-I$(srcdir) $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
|
||||||
RBUTIL_OBJECTS = \
|
RBUTIL_OBJECTS = \
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,8 @@
|
||||||
|
|
||||||
#define VERSION "0.2 with r12896 bootloader"
|
#define VERSION "0.2 with r12896 bootloader"
|
||||||
|
|
||||||
|
unsigned char* sectorbuf;
|
||||||
|
|
||||||
int verbose = 0;
|
int verbose = 0;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ extern int verbose;
|
||||||
and initialise it with sansa_alloc_buf() in main().
|
and initialise it with sansa_alloc_buf() in main().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned char* sectorbuf;
|
extern unsigned char* sectorbuf;
|
||||||
|
|
||||||
static off_t filesize(int fd) {
|
static off_t filesize(int fd) {
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue