use ifdef guards for Windows pragmas

This commit is contained in:
Nick Fisher
2024-06-08 22:26:33 +08:00
parent 0f892645af
commit b5ed69483c

View File

@@ -1,5 +1,7 @@
#ifdef _WIN32
#pragma comment(lib, "Shlwapi.lib")
#pragma comment(lib, "opengl32.lib")
#endif
#include "ResourceBuffer.hpp"