Plasma Engine  2.0
Loading...
Searching...
No Matches
TexturePCH.h
1#pragma once
2
3#include <Texture/TextureDLL.h>
4
5// auto_delete_file from scoped.h uses FILE_DISPOSITION_INFO which has a member called DeleteFile
6// due to the great preprocessor overloads for win32 functions, this apparently is always defined (usually as DeleteFileA)
7// since pl undef's DeleteFile to PREVENT such name issues, this actually now CREATES an issue,
8// so in this lib we need to 'fix' this again
9
10#include <Foundation/Basics/Platform/Win/IncludeWindows.h>
11
12#if defined(_UNICODE) || defined(UNICODE)
13# define DeleteFile DeleteFileW
14#else
15# define DeleteFile DeleteFileA
16#endif