util: fix MSVC build issue in disk_cache.h
authorBrian Paul <brianp@vmware.com>
Tue, 21 Feb 2017 22:52:40 +0000 (15:52 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Feb 2017 03:54:46 +0000 (20:54 -0700)
commitb87ef9e606a1644b03f15e821852c321c0043840
treeb8cdd087df5ef026e79236dd860514fa360504c8
parent40e0dbf96c4d812be940561f5732b1b0e44b5e1d
util: fix MSVC build issue in disk_cache.h

Windows doesn't have dlfcn.h.  Protect the code in question
with #if ENABLE_SHADER_CACHE test.  And fix indentation.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/util/disk_cache.h