From 0b968264162c665478d11d6ff1ffb40f3a1978f6 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 15 Oct 2008 18:41:30 +0000 Subject: [PATCH] #ifdef'd out win32 specific stuff git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3044 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/tools.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/src/tools.h b/source/src/tools.h index 0c97884c..ef6a0974 100644 --- a/source/src/tools.h +++ b/source/src/tools.h @@ -525,11 +525,14 @@ extern char *loadfile(const char *fn, int *size, const char *mode = NULL); extern bool listdir(const char *dir, const char *ext, vector &files); extern int listfiles(const char *dir, const char *ext, vector &files); extern bool delfile(const char *path); -extern void stackdumper(unsigned int type, EXCEPTION_POINTERS *ep); extern bool cmpb(void *b, int n, enet_uint32 c); extern bool cmpf(char *fn, enet_uint32 c); extern void endianswap(void *, int, int); extern bool isbigendian(); +#ifdef WIN32 +extern void stackdumper(unsigned int type, EXCEPTION_POINTERS *ep); +#endif + #endif