projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd9f32
)
disk_cache_get_function_timestamp: check for dladdr
author
Michel Zou
<xantares09@hotmail.com>
Mon, 11 Nov 2019 21:15:41 +0000
(22:15 +0100)
committer
Michel Zou
<xantares09@hotmail.com>
Sat, 23 Nov 2019 11:01:11 +0000
(12:01 +0100)
instead of dlopen
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/util/disk_cache.h
patch
|
blob
|
history
diff --git
a/src/util/disk_cache.h
b/src/util/disk_cache.h
index 2a147cba615b986eb05c7b13df2d06d820e66489..a77bb678b1adde305d4a549c641e335ff84d47af 100644
(file)
--- a/
src/util/disk_cache.h
+++ b/
src/util/disk_cache.h
@@
-91,7
+91,7
@@
disk_cache_format_hex_id(char *buf, const uint8_t *hex_id, unsigned size)
return buf;
}
-#ifdef HAVE_DL
FCN_H
+#ifdef HAVE_DL
ADDR
static inline bool
disk_cache_get_function_timestamp(void *ptr, uint32_t* timestamp)
{