+ Add i686-AT386 to the list of x86 platform + Define SA_SIGINFO is not defined
Unified · Split
| @@ -37,7 +37,7 @@ ar="ar" · 36 unmodified lines | |||
| 37 | strip="strip" | 37 | strip="strip" |
| 38 | cpu=`uname -m` | 38 | cpu=`uname -m` |
| 39 | case "$cpu" in | 39 | case "$cpu" in |
| 40 | i386|i486|i586|i686|i86pc|BePC) | 40 | i386|i486|i586|i686|i86pc|BePC|i686-AT386) |
| 41 | cpu="x86" | 41 | cpu="x86" |
| 42 | ;; | 42 | ;; |
| 43 | x86_64) | 43 | x86_64) |
| @@ -79,6 +79,10 @@ · 78 unmodified lines | |||
| 79 | #define O_BINARY 0 | 79 | #define O_BINARY 0 |
| 80 | #endif | 80 | #endif |
| 81 | 81 | ||
| 82 | #ifndef SA_SIGINFO | ||
| 83 | #define SA_SIGINFO 0x00000004u | ||
| 84 | #endif | ||
| 85 | |||
| 82 | #include "libtcc.h" | 86 | #include "libtcc.h" |
| 83 | 87 | ||
| 84 | /* parser debug */ | 88 | /* parser debug */ |