From 2887f40f760b7d406422258bbdd6e8dc25696c59 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 10 Sep 2010 20:55:54 +0200 Subject: [PATCH] Add support for GNU/Hurd + Add i686-AT386 to the list of x86 platform + Define SA_SIGINFO is not defined --- configure | 2 +- tcc.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 */