first commit

This commit is contained in:
2024-04-25 10:38:13 +08:00
commit b6cffd8a97
20 changed files with 1181 additions and 0 deletions

14
src/WinImportPrefix.hpp Normal file
View File

@ -0,0 +1,14 @@
#pragma once
#include "YYCCInternal.hpp"
#if YYCC_OS == YYCC_OS_WINDOWS
// Windows also will generate following macros
// which may cause the function sign is different in Windows and other platforms.
// So we simply remove them.
#undef GetObject
#undef GetClassName
#undef LoadImage
#undef GetTempPath
#endif