fix:修正非win编译。

This commit is contained in:
taynpg 2024-12-15 23:36:33 +08:00
parent 45d22c927b
commit b130012e5b

View File

@ -1,4 +1,6 @@
#include "of_win.h"
#ifdef _WIN32
#include <windows.h>
constexpr auto g_VSReg = ofT("");
@ -70,3 +72,4 @@ bool COfWin::isAdminRun(bool& is_admin)
}
return static_cast<bool>(isAdmin);
}
#endif