Skip to content
Commit 24e3aa2d authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Dylan Baker
Browse files

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: b87ef9e6 "util: fix MSVC build issue in disk_cache.h"
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit cc10b34e)
parent a6feff4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment