From: Eric Engestrom Date: Sun, 28 Oct 2018 13:39:30 +0000 (+0000) Subject: wsi/display: s/#if/#ifdef/ to fix -Wundef X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=687babc04532a602937148c9e2ae31dd8daced9e;p=mesa.git wsi/display: s/#if/#ifdef/ to fix -Wundef Signed-off-by: Eric Engestrom Reviewed-by: Tapani Pälli --- 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,