Explorar el Código

disk_cache_get_function_timestamp: check for dladdr

instead of dlopen

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
master
Michel Zou hace 7 años
padre
commit
02d63ee5a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/util/disk_cache.h

+ 1
- 1
src/util/disk_cache.h Ver fichero

@@ -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)
{

Cargando…
Cancelar
Guardar