Update of /cvsroot/simspark/simspark/spark/zeitgeist
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv31799
Modified Files:
Tag: WIN32
core.cpp
Log Message:
- comment out signal handling implementation
Index: core.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/zeitgeist/core.cpp,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** core.cpp 10 Mar 2006 00:16:06 -0000 1.2
--- core.cpp 9 Feb 2007 16:15:33 -0000 1.2.2.1
***************
*** 35,43 ****
#include <salt/path.h>
#include <salt/sharedlibrary.h>
- #include <execinfo.h>
#include <signal.h>
#include <iostream>
#include <sstream>
using namespace boost;
using namespace salt;
--- 35,46 ----
#include <salt/path.h>
#include <salt/sharedlibrary.h>
#include <signal.h>
#include <iostream>
#include <sstream>
+ #ifndef WIN32
+ #include <execinfo.h>
+ #endif
+
using namespace boost;
using namespace salt;
***************
*** 156,159 ****
--- 159,163 ----
void Core::CatchSignal(int sig_num)
{
+ #ifndef WIN32
if (sig_num != SIGSEGV)
{
***************
*** 201,204 ****
--- 205,209 ----
cerr << "(Core) exit" << endl;
exit(1);
+ #endif
}
|