mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 01:08:31 +00:00
Move preprocessor directives that may influence user code into implementation block
This commit is contained in:
parent
21936114ff
commit
449971111d
1 changed files with 11 additions and 11 deletions
|
@ -2000,16 +2000,6 @@ Features deliberately excluded from the scope of this library:
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if VMA_RECORDING_ENABLED
|
|
||||||
#include <chrono>
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#include <windows.h>
|
|
||||||
#else
|
|
||||||
#include <sstream>
|
|
||||||
#include <thread>
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -2022,7 +2012,7 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
||||||
#define VMA_RECORDING_ENABLED 0
|
#define VMA_RECORDING_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOMINMAX
|
#if !defined(NOMINMAX) && defined(VMA_IMPLEMENTATION)
|
||||||
#define NOMINMAX // For windows.h
|
#define NOMINMAX // For windows.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -3966,6 +3956,16 @@ VMA_CALL_PRE void VMA_CALL_POST vmaDestroyImage(
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#if VMA_RECORDING_ENABLED
|
||||||
|
#include <chrono>
|
||||||
|
#if defined(_WIN32)
|
||||||
|
#include <windows.h>
|
||||||
|
#else
|
||||||
|
#include <sstream>
|
||||||
|
#include <thread>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
CONFIGURATION SECTION
|
CONFIGURATION SECTION
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue