From 687babc04532a602937148c9e2ae31dd8daced9e Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 28 Oct 2018 13:39:30 +0000 Subject: wsi/display: s/#if/#ifdef/ to fix -Wundef MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Engestrom Reviewed-by: Tapani Pälli --- src/vulkan/wsi/wsi_common_display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vulkan') diff --git a/src/vulkan/wsi/wsi_common_display.h b/src/vulkan/wsi/wsi_common_display.h index 50d7f836a75..be0bd4e06fb 100644 --- a/src/vulkan/wsi/wsi_common_display.h +++ b/src/vulkan/wsi/wsi_common_display.h @@ -115,7 +115,7 @@ wsi_release_display(VkPhysicalDevice physical_device, VkDisplayKHR display); -#if VK_USE_PLATFORM_XLIB_XRANDR_EXT +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT VkResult wsi_acquire_xlib_display(VkPhysicalDevice physical_device, struct wsi_device *wsi_device, -- cgit v1.2.3