diff --git a/source/core/utility/m_png.h b/source/core/utility/m_png.h index 85fd1c64f..12e6d5adf 100644 --- a/source/core/utility/m_png.h +++ b/source/core/utility/m_png.h @@ -37,6 +37,7 @@ #include "zstring.h" #include "files.h" #include "palentry.h" +#include "basics.h" // Screenshot buffer image data types enum ESSType @@ -122,12 +123,4 @@ class FTexture; FTexture *PNGTexture_CreateFromFile(PNGHandle *png, const FString &filename); -#ifndef MAKE_ID -#ifndef __BIG_ENDIAN__ -#define MAKE_ID(a,b,c,d) ((uint32_t)((a)|((b)<<8)|((c)<<16)|((d)<<24))) -#else -#define MAKE_ID(a,b,c,d) ((uint32_t)((d)|((c)<<8)|((b)<<16)|((a)<<24))) -#endif -#endif - #endif