mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
util: Don't try to use imagehlp on mingw.
This commit is contained in:
parent
50a52ba67e
commit
63c05c96e7
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#include "u_debug_symbol.h"
|
||||
#include "u_hash_table.h"
|
||||
|
||||
#if defined(PIPE_SUBSYSTEM_WINDOWS_USER) && defined(PIPE_ARCH_X86)
|
||||
#if defined(PIPE_CC_MSVC) && defined(PIPE_ARCH_X86)
|
||||
|
||||
#include <windows.h>
|
||||
#include <stddef.h>
|
||||
|
|
@ -165,7 +165,7 @@ debug_symbol_name_glibc(const void *addr, char* buf, unsigned size)
|
|||
void
|
||||
debug_symbol_name(const void *addr, char* buf, unsigned size)
|
||||
{
|
||||
#if defined(PIPE_SUBSYSTEM_WINDOWS_USER) && defined(PIPE_ARCH_X86)
|
||||
#if defined(PIPE_CC_MSVC) && defined(PIPE_ARCH_X86)
|
||||
debug_symbol_name_imagehlp(addr, buf, size);
|
||||
if(buf[0])
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue