/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-21.10
Code/Engine/Texture/TexturePCH.h
16 строк
592 B
Jan Krassnigg
MSFT: Various improvements (#450)
10 авг 2021, 11:29
Не верифицирован
10 авг 2021, 11:29
372a365
Код
Авторство
О чём код?
#pragma once #include <Texture/TextureDLL.h> // auto_delete_file from scoped.h uses FILE_DISPOSITION_INFO which has a member called DeleteFile // due to the great preprocessor overloads for win32 functions, this apparently is always defined (usually as DeleteFileA) // since ez undef's DeleteFile to PREVENT such name issues, this actually now CREATES an issue, // so in this lib we need to 'fix' this again #include <Foundation/Basics/Platform/Win/IncludeWindows.h> #if defined(_UNICODE) || defined(UNICODE) # define DeleteFile DeleteFileW #else # define DeleteFile DeleteFileA #endif