summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/loader/loader.c
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-09 15:51:18 +0100
committerGitHub <noreply@github.com>2020-03-09 15:51:18 +0100
commit65e0a2fb529b6ca83bfd64bec3848a16d4692659 (patch)
tree50687e36fba1a747b2709865c49b7e2a4f389a42 /thirdparty/vulkan/loader/loader.c
parent2fb511a4f70b4cbbb7396db528063e219c6edb15 (diff)
parentd744d3046e755d7e92b2eeee61da8364ce885e30 (diff)
Merge pull request #36941 from akien-mga/vulkan-windows-static
vulkan: Re-add option to build Vulkan-Loader statically
Diffstat (limited to 'thirdparty/vulkan/loader/loader.c')
-rw-r--r--thirdparty/vulkan/loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/vulkan/loader/loader.c b/thirdparty/vulkan/loader/loader.c
index 87d08d5116..c7cdb47122 100644
--- a/thirdparty/vulkan/loader/loader.c
+++ b/thirdparty/vulkan/loader/loader.c
@@ -7330,7 +7330,7 @@ out:
return result;
}
-#if defined(_WIN32)
+#if defined(_WIN32) && defined(LOADER_DYNAMIC_LIB)
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
switch (reason) {
case DLL_PROCESS_ATTACH: