Procházet zdrojové kódy

disk_cache_get_function_timestamp: check for dladdr

instead of dlopen

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
master
Michel Zou před 7 roky
rodič
revize
02d63ee5a4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/util/disk_cache.h

+ 1
- 1
src/util/disk_cache.h Zobrazit soubor

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

Načítá se…
Zrušit
Uložit