/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ms9
Code/Engine/Texture/TexturePCH.h
15 строк
539 B
jankrassnigg
Some PCH name changing for the Texture.dll
07 фев 2019, 13:47
07 фев 2019, 13:47
bd95561
Код
Авторство
О чём код?
#pragma once #include <Foundation/Basics.h> #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 #ifdef _UNICODE # define DeleteFile DeleteFileW #else # define DeleteFile DeleteFileA #endif