wsi: Various fixes and Windows build issues
diff --git a/CMakeLists.txt b/CMakeLists.txt
old mode 100644
new mode 100755
index b3234f2..9510e31
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,12 +5,14 @@
project (VULKAN)
# set (CMAKE_VERBOSE_MAKEFILE 1)
+
+
# The MAJOR number of the version we're building, used in naming
# vulkan-<major>.dll (and other files).
set(MAJOR "0")
if(WIN32)
- add_definitions(-DVK_USE_PLATFORM_WIN32_KHR)
+ add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN)
else()
add_definitions(-DVK_USE_PLATFORM_XCB_KHR)
endif()