Misc: Remove unused code
This commit is contained in:
@ -7,23 +7,14 @@
|
||||
#define NOMINMAX 1
|
||||
#endif
|
||||
|
||||
// require vista+, but don't set it when compiling for UWP
|
||||
#ifndef WINAPI_FAMILY
|
||||
// require vista+
|
||||
#ifdef _WIN32_WINNT
|
||||
#undef _WIN32_WINNT
|
||||
#endif
|
||||
#define _WIN32_WINNT _WIN32_WINNT_VISTA
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
// hurr i'm windows, i like to conflict, fixme properly later please...
|
||||
#if defined(FindTexture)
|
||||
#undef FindTexture
|
||||
#endif
|
||||
#if defined(DrawText)
|
||||
#undef DrawText
|
||||
#endif
|
||||
#if defined(CreateDirectory)
|
||||
#undef CreateDirectory
|
||||
#endif
|
||||
@ -33,12 +24,3 @@
|
||||
#if defined(DeleteFile)
|
||||
#undef DeleteFile
|
||||
#endif
|
||||
#if defined(Yield)
|
||||
#undef Yield
|
||||
#endif
|
||||
#if defined(LoadIcon)
|
||||
#undef LoadIcon
|
||||
#endif
|
||||
#if defined(GetObject)
|
||||
#undef GetObject
|
||||
#endif
|
||||
Reference in New Issue
Block a user