diff options
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/errno.h | 2 | ||||
-rw-r--r-- | firmware/include/rbunicode.h | 2 |
2 files changed, 1 insertions, 3 deletions
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 */ |