From b130012e5b6e9aeeed0ff9084ea524c67c726dd7 Mon Sep 17 00:00:00 2001 From: taynpg Date: Sun, 15 Dec 2024 23:36:33 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=AD=A3=E9=9D=9Ewin?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/of_win.cpp | 3 +++ 1 file changed, 3 insertions(+) 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