Re: [Mesa-dev] [PATCH] util: fix MSVC build issue in disk_cache.h

2017-02-21 Thread Brian Paul
On 02/21/2017 05:48 PM, Timothy Arceri wrote: On 22/02/17 09:59, Brian Paul wrote: On 02/21/2017 03:57 PM, Brian Paul wrote: Windows doesn't have dlfcn.h. Protect the code in question with #if ENABLE_SHADER_CACHE test. --- src/util/disk_cache.h | 26 -- 1 file chan

Re: [Mesa-dev] [PATCH] util: fix MSVC build issue in disk_cache.h

2017-02-21 Thread Timothy Arceri
On 22/02/17 09:59, Brian Paul wrote: On 02/21/2017 03:57 PM, Brian Paul wrote: Windows doesn't have dlfcn.h. Protect the code in question with #if ENABLE_SHADER_CACHE test. --- src/util/disk_cache.h | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --

Re: [Mesa-dev] [PATCH] util: fix MSVC build issue in disk_cache.h

2017-02-21 Thread Roland Scheidegger
Looks good to me. I guess ideally there'd be some os abstraction so the cache stuff could actually build/work on windows but that's another story... Roland Am 21.02.2017 um 23:57 schrieb Brian Paul: > Windows doesn't have dlfcn.h. Protect the code in question > with #if ENABLE_SHADER_CACHE test.

Re: [Mesa-dev] [PATCH] util: fix MSVC build issue in disk_cache.h

2017-02-21 Thread Brian Paul
On 02/21/2017 03:57 PM, Brian Paul wrote: Windows doesn't have dlfcn.h. Protect the code in question with #if ENABLE_SHADER_CACHE test. --- src/util/disk_cache.h | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/util/disk_cache.h b/src/util/d

[Mesa-dev] [PATCH] util: fix MSVC build issue in disk_cache.h

2017-02-21 Thread Brian Paul
Windows doesn't have dlfcn.h. Protect the code in question with #if ENABLE_SHADER_CACHE test. --- src/util/disk_cache.h | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h index 8b6fc0d..7f4da80 100644 ---