summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config.h4
-rw-r--r--firmware/include/errno.h2
-rw-r--r--firmware/include/rbunicode.h2
3 files changed, 2 insertions, 6 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 941ee5f9b4..4d370aa9cd 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -22,9 +22,7 @@
22#ifndef __CONFIG_H__ 22#ifndef __CONFIG_H__
23#define __CONFIG_H__ 23#define __CONFIG_H__
24 24
25#ifndef __PCTOOL__
26#include "autoconf.h" 25#include "autoconf.h"
27#endif
28 26
29/* symbolic names for multiple choice configurations: */ 27/* symbolic names for multiple choice configurations: */
30 28
@@ -620,7 +618,7 @@ Lyre prototype 1*/
620/* Enable the directory cache and tagcache in RAM if we have 618/* Enable the directory cache and tagcache in RAM if we have
621 * plenty of RAM. Both features can be enabled independently. */ 619 * plenty of RAM. Both features can be enabled independently. */
622#if ((defined(MEMORYSIZE) && (MEMORYSIZE >= 8)) || MEM >= 8) && \ 620#if ((defined(MEMORYSIZE) && (MEMORYSIZE >= 8)) || MEM >= 8) && \
623 !defined(BOOTLOADER) 621 !defined(BOOTLOADER) && !defined(__PCTOOL__)
624#define HAVE_DIRCACHE 622#define HAVE_DIRCACHE
625#ifdef HAVE_TAGCACHE 623#ifdef HAVE_TAGCACHE
626#define HAVE_TC_RAMCACHE 624#define HAVE_TC_RAMCACHE
diff --git a/firmware/include/errno.h b/firmware/include/errno.h
index 1843b56f1d..846cd0e339 100644
--- a/firmware/include/errno.h
+++ b/firmware/include/errno.h
@@ -2,7 +2,7 @@
2 non-reentrant. Instead, its address is returned by the function 2 non-reentrant. Instead, its address is returned by the function
3 __errno. */ 3 __errno. */
4 4
5#if defined(SIMULATOR) && !defined(__MINGW32__) && !defined(__CYGWIN__) 5#if (defined(SIMULATOR)||defined(__PCTOOL__)) && !defined(__MINGW32__) && !defined(__CYGWIN__)
6 6
7#include "/usr/include/errno.h" /* use the host system implementation */ 7#include "/usr/include/errno.h" /* use the host system implementation */
8 8
diff --git a/firmware/include/rbunicode.h b/firmware/include/rbunicode.h
index a4a1c8b323..a97ebb469b 100644
--- a/firmware/include/rbunicode.h
+++ b/firmware/include/rbunicode.h
@@ -28,9 +28,7 @@
28#ifndef _RBUNICODE_H_ 28#ifndef _RBUNICODE_H_
29#define _RBUNICODE_H_ 29#define _RBUNICODE_H_
30 30
31#ifndef __PCTOOL__
32#include "config.h" 31#include "config.h"
33#endif
34 32
35#define MASK 0xC0 /* 11000000 */ 33#define MASK 0xC0 /* 11000000 */
36#define COMP 0x80 /* 10x */ 34#define COMP 0x80 /* 10x */