mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
fix checkwps breakage caused by r229900
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22993 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ee21a5322e
commit
d1a9e0c588
3 changed files with 2 additions and 12 deletions
|
@ -42,6 +42,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "inttypes.h"
|
#include "inttypes.h"
|
||||||
|
#include "system.h"
|
||||||
#ifndef PLUGIN
|
#ifndef PLUGIN
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -58,10 +59,8 @@
|
||||||
#endif
|
#endif
|
||||||
#ifndef __PCTOOL__
|
#ifndef __PCTOOL__
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
|
||||||
#include "resize.h"
|
#include "resize.h"
|
||||||
#else
|
#else
|
||||||
#include "checkwps.h"
|
|
||||||
#undef DEBUGF
|
#undef DEBUGF
|
||||||
#define DEBUGF(...)
|
#define DEBUGF(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -230,10 +230,9 @@ enum {
|
||||||
MAXMEMGUARD
|
MAXMEMGUARD
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef SIMULATOR
|
#if !defined(SIMULATOR) && !defined(__PCTOOL__)
|
||||||
#include "system-target.h"
|
#include "system-target.h"
|
||||||
#else /* SIMULATOR */
|
#else /* SIMULATOR */
|
||||||
|
|
||||||
static inline uint16_t swap16(uint16_t value)
|
static inline uint16_t swap16(uint16_t value)
|
||||||
/*
|
/*
|
||||||
result[15..8] = value[ 7..0];
|
result[15..8] = value[ 7..0];
|
||||||
|
|
|
@ -27,12 +27,4 @@
|
||||||
|
|
||||||
#define SYSFONT_HEIGHT 8
|
#define SYSFONT_HEIGHT 8
|
||||||
|
|
||||||
#ifndef MIN
|
|
||||||
#define MIN(a, b) (((a)<(b))?(a):(b))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef BIT_N
|
|
||||||
#define BIT_N(n) (1U << (n))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue