Add support for GNU/Hurd

+ Add i686-AT386 to the list of x86 platform
+ Define SA_SIGINFO is not defined
This commit is contained in:
Thomas Preud'homme 2010-09-10 20:55:54 +02:00
parent 9b09fc376e
commit 2887f40f76
2 changed files with 5 additions and 1 deletions

2
configure vendored
View File

@ -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)

4
tcc.h
View File

@ -79,6 +79,10 @@
#define O_BINARY 0
#endif
#ifndef SA_SIGINFO
#define SA_SIGINFO 0x00000004u
#endif
#include "libtcc.h"
/* parser debug */