Skip to content

Commit

Permalink
fixing macos compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbz-8 committed Sep 16, 2024
1 parent 9d306e0 commit 036d4ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#include <Core/LibLoader.h>
#include <Core/Logs.h>


#ifdef KANEL_CLI_PLAT_MACOS
#include <stdlib.h> // getenv
#endif

static KbhLibModule __kbh_vulkan_lib_module = KBH_NULL_LIB_MODULE;

static void kbhVulkanLoadGlobalFunctions(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
Expand Down

0 comments on commit 036d4ab

Please sign in to comment.