commit | cc10b34e9ed1104f4ceb88a49a42e1d6a743d52f | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Wed Jul 18 13:58:49 2018 +0200 |
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Fri Jul 20 12:09:19 2018 +0200 |
tree | 92a3778495fecce8eb617f5abaacf87908c96f2a | |
parent | 8cacf38f527d42e41441ef8c25d95d4b2f4e8602 [diff] |
util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache. radv always needs it, so just check the header instead. Also do not declare the function if the variable is not set, so we get a nice compile error instead of failing to open a device at runtime. Fixes: b87ef9e606a "util: fix MSVC build issue in disk_cache.h" Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>