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:
Lee Salzman
2008-10-16 21:44:58 +00:00
parent cbee2fb7cb
commit 5b6def0121
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -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