diff --git a/src/of_win.cpp b/src/of_win.cpp index 988d6ae..e67c94b 100644 --- a/src/of_win.cpp +++ b/src/of_win.cpp @@ -1,4 +1,6 @@ #include "of_win.h" + +#ifdef _WIN32 #include constexpr auto g_VSReg = ofT(""); @@ -70,3 +72,4 @@ bool COfWin::isAdminRun(bool& is_admin) } return static_cast(isAdmin); } +#endif \ No newline at end of file