summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/asm/thread.h4
-rw-r--r--firmware/include/string-extra.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/asm/thread.h b/firmware/asm/thread.h
index 5372be73ab..771338b406 100644
--- a/firmware/asm/thread.h
+++ b/firmware/asm/thread.h
@@ -46,7 +46,9 @@ struct regs
46 * give a decent amount of space and hope for the best... 46 * give a decent amount of space and hope for the best...
47 * FIXME: this isn't a great solution. */ 47 * FIXME: this isn't a great solution. */
48 #undef MINSIGSTKSZ 48 #undef MINSIGSTKSZ
49 #define MINSIGSTKSZ 16384 49 #endif
50 #ifndef MINSIGSTKSZ
51 #define MINSIGSTKSZ 16384
50 #endif 52 #endif
51 /* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */ 53 /* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */
52 #define DEFAULT_STACK_SIZE (MINSIGSTKSZ+0x3000) /* Bytes */ 54 #define DEFAULT_STACK_SIZE (MINSIGSTKSZ+0x3000) /* Bytes */
diff --git a/firmware/include/string-extra.h b/firmware/include/string-extra.h
index a9b34661a7..9572638e23 100644
--- a/firmware/include/string-extra.h
+++ b/firmware/include/string-extra.h
@@ -30,7 +30,7 @@
30#include "memset16.h" 30#include "memset16.h"
31 31
32#if defined(WIN32) || defined(APPLICATION) \ 32#if defined(WIN32) || defined(APPLICATION) \
33 || defined(__PCTOOL__) 33 || defined(__PCTOOL__) || defined(SIMULATOR)
34#ifndef mempcpy 34#ifndef mempcpy
35#define mempcpy __builtin_mempcpy 35#define mempcpy __builtin_mempcpy
36#endif 36#endif