aboutsummaryrefslogtreecommitdiff
path: root/msvc/locate_windows_sdk
diff options
context:
space:
mode:
Diffstat (limited to 'msvc/locate_windows_sdk')
-rw-r--r--msvc/locate_windows_sdk/locate_sdk.cpp2
-rw-r--r--msvc/locate_windows_sdk/locate_sdk.hpp1
-rw-r--r--msvc/locate_windows_sdk/main.cppbin2304 -> 2402 bytes
3 files changed, 3 insertions, 0 deletions
diff --git a/msvc/locate_windows_sdk/locate_sdk.cpp b/msvc/locate_windows_sdk/locate_sdk.cpp
index a79d032..3ac0787 100644
--- a/msvc/locate_windows_sdk/locate_sdk.cpp
+++ b/msvc/locate_windows_sdk/locate_sdk.cpp
@@ -536,6 +536,7 @@ Find_Result find_visual_studio_and_windows_sdk(SdkArch sdkArch) {
if (result.windows_include_root) {
result.windows_include_um_path = concat(result.windows_include_root, L"\\um");
result.windows_include_ucrt_path = concat(result.windows_include_root, L"\\ucrt");
+ result.windows_include_shared_path = concat(result.windows_include_root, L"\\shared");
}
find_visual_studio_by_fighting_through_microsoft_craziness(&result);
@@ -550,6 +551,7 @@ void free_resources(Find_Result *result) {
free(result->windows_include_root);
free(result->windows_include_um_path);
free(result->windows_include_ucrt_path);
+ free(result->windows_include_shared_path);
free(result->vs_exe_path);
free(result->vs_library_path);
free(result->vs_include_path);
diff --git a/msvc/locate_windows_sdk/locate_sdk.hpp b/msvc/locate_windows_sdk/locate_sdk.hpp
index 49e0dd4..4c70902 100644
--- a/msvc/locate_windows_sdk/locate_sdk.hpp
+++ b/msvc/locate_windows_sdk/locate_sdk.hpp
@@ -13,6 +13,7 @@ struct Find_Result {
wchar_t *windows_include_root = NULL;
wchar_t *windows_include_um_path = NULL;
wchar_t *windows_include_ucrt_path = NULL;
+ wchar_t *windows_include_shared_path = NULL;
wchar_t *vs_exe_path = NULL;
wchar_t *vs_library_path = NULL;
diff --git a/msvc/locate_windows_sdk/main.cpp b/msvc/locate_windows_sdk/main.cpp
index 7fb5657..a507d6d 100644
--- a/msvc/locate_windows_sdk/main.cpp
+++ b/msvc/locate_windows_sdk/main.cpp
Binary files differ