diff --git a/source/src/tools.h b/source/src/tools.h index ef6a0974..ea1b52c1 100644 --- a/source/src/tools.h +++ b/source/src/tools.h @@ -530,7 +530,7 @@ extern bool cmpf(char *fn, enet_uint32 c); extern void endianswap(void *, int, int); extern bool isbigendian(); -#ifdef WIN32 +#if defined(WIN32) && !defined(_DEBUG) && !defined(__GNUC__) extern void stackdumper(unsigned int type, EXCEPTION_POINTERS *ep); #endif