wsi/display: s/#if/#ifdef/ to fix -Wundef
authorEric Engestrom <eric.engestrom@intel.com>
Sun, 28 Oct 2018 13:39:30 +0000 (13:39 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 11 Mar 2019 10:49:36 +0000 (10:49 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/vulkan/wsi/wsi_common_display.h

index 50d7f836a754d3ef488c7e1d1f2d5ce9c7e1980c..be0bd4e06fb9c818eed58d7a2e33c93d2758cb57 100644 (file)
@@ -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,