fix: conditional cstdio include in vk_mem_alloc (#8265)

Based on 05973d8aeb/include/vk_mem_alloc.h (L2842)

Co-authored-by: Powei Feng <powei@google.com>
This commit is contained in:
Amin Ya
2025-02-27 15:26:31 -08:00
committed by GitHub
parent ad2fdb4663
commit cd4571700a

View File

@@ -126,8 +126,6 @@ See documentation chapter: \ref statistics.
extern "C" {
#endif
#include <stdio.h>
#ifndef VULKAN_H_
#include <vulkan/vulkan.h>
#endif
@@ -296,6 +294,10 @@ extern "C" {
#define VMA_STATS_STRING_ENABLED 1
#endif
#if VMA_STATS_STRING_ENABLED
#include <cstdio> // For snprintf
#endif
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//