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:
parent
9b09fc376e
commit
2887f40f76
2 changed files with 5 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -37,7 +37,7 @@ ar="ar"
|
||||||
strip="strip"
|
strip="strip"
|
||||||
cpu=`uname -m`
|
cpu=`uname -m`
|
||||||
case "$cpu" in
|
case "$cpu" in
|
||||||
i386|i486|i586|i686|i86pc|BePC)
|
i386|i486|i586|i686|i86pc|BePC|i686-AT386)
|
||||||
cpu="x86"
|
cpu="x86"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
|
|
|
||||||
4
tcc.h
4
tcc.h
|
|
@ -79,6 +79,10 @@
|
||||||
#define O_BINARY 0
|
#define O_BINARY 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SA_SIGINFO
|
||||||
|
#define SA_SIGINFO 0x00000004u
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "libtcc.h"
|
#include "libtcc.h"
|
||||||
|
|
||||||
/* parser debug */
|
/* parser debug */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue