projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a52ba
)
util: Don't try to use imagehlp on mingw.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 15:14:20 +0000
(15:14 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 15:14:58 +0000
(15:14 +0000)
src/gallium/auxiliary/util/u_debug_symbol.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_symbol.c
b/src/gallium/auxiliary/util/u_debug_symbol.c
index 332952af88b85c4036a0f7866e3c93cb70775138..44d437747a1841c48c7dfefc46c594cb5405535a 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug_symbol.c
+++ b/
src/gallium/auxiliary/util/u_debug_symbol.c
@@
-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;