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