include/SDL_vulkan.h
changeset 11373 1a70b29cbb7b
parent 11365 a9bd2625fa01
child 11376 91e5e5a2cb71
     1.1 --- a/include/SDL_vulkan.h	Sun Aug 27 22:20:17 2017 -0700
     1.2 +++ b/include/SDL_vulkan.h	Sun Aug 27 22:27:45 2017 -0700
     1.3 @@ -37,6 +37,7 @@
     1.4  #endif
     1.5  
     1.6  /* Avoid including vulkan.h */
     1.7 +#ifndef VULKAN_H_
     1.8  #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
     1.9  
    1.10  #if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
    1.11 @@ -48,6 +49,8 @@
    1.12  VK_DEFINE_HANDLE(VkInstance)
    1.13  VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSurfaceKHR)
    1.14  
    1.15 +#endif /* !VULKAN_H_ */
    1.16 +
    1.17  typedef VkInstance SDL_vulkanInstance;
    1.18  typedef VkSurfaceKHR SDL_vulkanSurface; /* for compatibility with Tizen */
    1.19