From b87dc82bc54a7e8985a409131cf6ba1a7fb367a6 Mon Sep 17 00:00:00 2001 From: Frank Henigman Date: Thu, 24 Nov 2016 17:47:26 -0500 Subject: loader: avoid DEFAULT_VK_LAYERS_PATH redefinition. Commit df441f60 did this in the win32 section of the file, but missed the linux section. This commit fixes the linux section. --- loader/vk_loader_platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'loader') diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h index 0898b1e5..4c48090f 100644 --- a/loader/vk_loader_platform.h +++ b/loader/vk_loader_platform.h @@ -100,7 +100,9 @@ EXTRA_ILAYERS_DATADIR_INFO #define DEFAULT_VK_DRIVERS_PATH "" +#if !defined(DEFAULT_VK_LAYERS_PATH) #define DEFAULT_VK_LAYERS_PATH "" +#endif #if !defined(LAYERS_SOURCE_PATH) #define LAYERS_SOURCE_PATH NULL -- cgit v1.2.3