diff --git a/Box/Main.cpp b/Box/Main.cpp index b149c4a071741136be0831bd7de3dd77c53bacd7..a1f0c4bf409e2a2ccca4f0e40391c9f748ca3da6 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 cfea30bc26572a5582a30f8c7aa669e85c9a9a50..3e72c9e98fbb31861cf4b92f27107415d34cd06b 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