/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Texture/TexturePCH.h
16 строк
591 B
Jan Krassnigg
Refactor of platform specific includes (#1414)
23 окт 2024, 10:09
Не верифицирован
23 окт 2024, 10:09
74f6d97
Код
Авторство
О чём код?
#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/Platform/Win/Utils/IncludeWindows.h> #if defined(_UNICODE) || defined(UNICODE) # define DeleteFile DeleteFileW #else # define DeleteFile DeleteFileA #endif