aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2010-09-10 20:55:54 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2010-09-10 20:55:54 +0200
commit2887f40f760b7d406422258bbdd6e8dc25696c59 (patch)
tree4ad90570f6a0a16c4b38206a63b66eeed5d39fcc
parent9b09fc376e8c212a767c875e71ca003e3b9a0d2e (diff)
downloadtinycc-2887f40f760b7d406422258bbdd6e8dc25696c59.tar.gz
tinycc-2887f40f760b7d406422258bbdd6e8dc25696c59.tar.bz2
Add support for GNU/Hurd
+ Add i686-AT386 to the list of x86 platform + Define SA_SIGINFO is not defined
-rwxr-xr-xconfigure2
-rw-r--r--tcc.h4
2 files changed, 5 insertions, 1 deletions
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 */