diff --git a/src/gallium/auxiliary/util/u_debug_refcnt.c b/src/gallium/auxiliary/util/u_debug_refcnt.c index e0d2385bec7..f849e59cb3e 100644 --- a/src/gallium/auxiliary/util/u_debug_refcnt.c +++ b/src/gallium/auxiliary/util/u_debug_refcnt.c @@ -44,6 +44,7 @@ #include "util/u_string.h" #include "util/u_hash_table.h" #include "os/os_thread.h" +#include "pipe/p_config.h" int debug_refcnt_state; @@ -113,7 +114,11 @@ debug_serial_delete(void *p) } +#if defined(PIPE_OS_WINDOWS) +#define STACK_LEN 60 +#else #define STACK_LEN 64 +#endif /** * Log a reference count change to the log file (if enabled).