mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Make the database tool buildable from configure.
Also update the checkwps makefile to make checkwps builds not break git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9e9a913829
commit
6e11572e07
9 changed files with 98 additions and 8 deletions
|
|
@ -22,9 +22,7 @@
|
|||
#ifndef __CONFIG_H__
|
||||
#define __CONFIG_H__
|
||||
|
||||
#ifndef __PCTOOL__
|
||||
#include "autoconf.h"
|
||||
#endif
|
||||
|
||||
/* symbolic names for multiple choice configurations: */
|
||||
|
||||
|
|
@ -620,7 +618,7 @@ Lyre prototype 1*/
|
|||
/* Enable the directory cache and tagcache in RAM if we have
|
||||
* plenty of RAM. Both features can be enabled independently. */
|
||||
#if ((defined(MEMORYSIZE) && (MEMORYSIZE >= 8)) || MEM >= 8) && \
|
||||
!defined(BOOTLOADER)
|
||||
!defined(BOOTLOADER) && !defined(__PCTOOL__)
|
||||
#define HAVE_DIRCACHE
|
||||
#ifdef HAVE_TAGCACHE
|
||||
#define HAVE_TC_RAMCACHE
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
non-reentrant. Instead, its address is returned by the function
|
||||
__errno. */
|
||||
|
||||
#if defined(SIMULATOR) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||
#if (defined(SIMULATOR)||defined(__PCTOOL__)) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||
|
||||
#include "/usr/include/errno.h" /* use the host system implementation */
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@
|
|||
#ifndef _RBUNICODE_H_
|
||||
#define _RBUNICODE_H_
|
||||
|
||||
#ifndef __PCTOOL__
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define MASK 0xC0 /* 11000000 */
|
||||
#define COMP 0x80 /* 10x */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue