+ 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 | 37 | strip="strip" |
| 38 | 38 | cpu=`uname -m` |
| 39 | 39 | case "$cpu" in |
| 40 | − i386|i486|i586|i686|i86pc|BePC) | |
| 40 | + i386|i486|i586|i686|i86pc|BePC|i686-AT386) | |
| 41 | 41 | cpu="x86" |
| 42 | 42 | ;; |
| 43 | 43 | x86_64) |
| @@ -79,6 +79,10 @@ · 78 unmodified lines | ||
| 79 | 79 | #define O_BINARY 0 |
| 80 | 80 | #endif |
| 81 | 81 | |
| 82 | +#ifndef SA_SIGINFO | |
| 83 | +#define SA_SIGINFO 0x00000004u | |
| 84 | +#endif | |
| 85 | + | |
| 82 | 86 | #include "libtcc.h" |
| 83 | 87 | |
| 84 | 88 | /* parser debug */ |