From 270160c3cabf22dcf833819ca71a80909774d3da Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 20 Jun 2005 16:40:25 +0000
Subject: [PATCH] temp compile fix for sgi irix

---
 Box/Main.cpp  | 5 ++++-
 Fltk/Main.cpp | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Box/Main.cpp b/Box/Main.cpp
index b149c4a071..a1f0c4bf40 100644
--- a/Box/Main.cpp
+++ b/Box/Main.cpp
@@ -1,4 +1,4 @@
-// $Id: Main.cpp,v 1.49 2005-05-21 04:55:59 geuzaine Exp $
+// $Id: Main.cpp,v 1.50 2005-06-20 16:40:25 geuzaine Exp $
 //
 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 //
@@ -93,9 +93,12 @@ int main(int argc, char *argv[])
 
   Init_Mesh0(&M);
 
+  // FIXME: could not make this work on IRIX
+#if !defined(__sgi__) 
   signal(SIGINT, Signal);
   signal(SIGSEGV, Signal);
   signal(SIGFPE, Signal);
+#endif
 
   GMSH_PluginManager::instance()->registerDefaultPlugins();
 
diff --git a/Fltk/Main.cpp b/Fltk/Main.cpp
index cfea30bc26..3e72c9e98f 100644
--- a/Fltk/Main.cpp
+++ b/Fltk/Main.cpp
@@ -1,4 +1,4 @@
-// $Id: Main.cpp,v 1.79 2005-06-10 00:31:28 geuzaine Exp $
+// $Id: Main.cpp,v 1.80 2005-06-20 16:40:25 geuzaine Exp $
 //
 // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 //
@@ -95,9 +95,12 @@ int main(int argc, char *argv[])
 
   // Signal handling
 
+  // FIXME: could not make this work on IRIX
+#if !defined(__sgi__) 
   signal(SIGINT, Signal);
   signal(SIGSEGV, Signal);
   signal(SIGFPE, Signal);
+#endif
 
   // Initialize the default plugins
 
-- 
GitLab