Browse Source

guard VK_USE_PLATFORM_ANDROID_KHR with ifdef (#5986)

tags/20250428
nihui GitHub 1 year ago
parent
commit
02fcca2a1e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/platform.h.in

+ 2
- 0
src/platform.h.in View File

@@ -86,7 +86,9 @@
#endif // NCNN_THREADS

#if __ANDROID_API__ >= 26
#ifndef VK_USE_PLATFORM_ANDROID_KHR
#define VK_USE_PLATFORM_ANDROID_KHR
#endif
#endif // __ANDROID_API__ >= 26

namespace ncnn {


Loading…
Cancel
Save