diff options
author | Damien <damien.p.george@gmail.com> | 2013-10-16 00:46:39 +0100 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-10-16 00:46:39 +0100 |
commit | 152568bcb61e65b700ca2b963534f2632d080345 (patch) | |
tree | 4abdf60b47a166c7cca0c629caf6afc137c029a8 /py/nlr.h | |
parent | c9f91976e19e07f2cf9e4b5b348eedd3e473419a (diff) |
NLR and Python exceptions work on the board.
Diffstat (limited to 'py/nlr.h')
-rw-r--r-- | py/nlr.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,9 +3,9 @@ #include <limits.h> -#ifndef __WORDSIZE -#error __WORDSIZE needs to be defined -#endif +//#ifndef __WORDSIZE +//#error __WORDSIZE needs to be defined +//#endif typedef struct _nlr_buf_t nlr_buf_t; struct _nlr_buf_t { @@ -17,7 +17,9 @@ struct _nlr_buf_t { #elif __WORDSIZE == 64 void *regs[8]; #else -#error Unsupported __WORDSIZE + // hack for thumb + void *regs[10]; +//#error Unsupported __WORDSIZE #endif }; |