diff --git a/configure b/configure index b981785..4c6eaaf 100755 --- a/configure +++ b/configure @@ -37,7 +37,7 @@ ar="ar" strip="strip" cpu=`uname -m` case "$cpu" in - i386|i486|i586|i686|i86pc|BePC) + i386|i486|i586|i686|i86pc|BePC|i686-AT386) cpu="x86" ;; x86_64) diff --git a/tcc.h b/tcc.h index 30458a2..d28d1ec 100644 --- a/tcc.h +++ b/tcc.h @@ -79,6 +79,10 @@ #define O_BINARY 0 #endif +#ifndef SA_SIGINFO +#define SA_SIGINFO 0x00000004u +#endif + #include "libtcc.h" /* parser debug */