diff options
author | Michel Zou <[email protected]> | 2019-11-11 22:15:41 +0100 |
---|---|---|
committer | Michel Zou <[email protected]> | 2019-11-23 12:01:11 +0100 |
commit | 02d63ee5a44635692fcec620563f7416f21732c8 (patch) | |
tree | 70ffcd13d63edcaa5d5ed97171c440ad67401f37 /src | |
parent | bfd9f3201e49cd3f46393b7737cd156a69e9f5ab (diff) |
disk_cache_get_function_timestamp: check for dladdr
instead of dlopen
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/util/disk_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h index 2a147cba615..a77bb678b1a 100644 --- 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_DLFCN_H +#ifdef HAVE_DLADDR static inline bool disk_cache_get_function_timestamp(void *ptr, uint32_t* timestamp) { |