linux #ifdef-ery
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3076 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -329,7 +329,9 @@ void stackdumper(unsigned int type, EXCEPTION_POINTERS *ep)
|
||||
}
|
||||
fatal(out);
|
||||
}
|
||||
#elif !defined(WIN32) && defined(__GNUC__)
|
||||
#elif defined(linux) || defined(__linux) || defined(__linux__)
|
||||
|
||||
#include <execinfo.h>
|
||||
|
||||
// stack dumping on linux, inspired by Sachin Agrawal's sample code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user