diff --git a/DesktopEditor/common/SystemUtils.cpp b/DesktopEditor/common/SystemUtils.cpp index e5f527aca1..9f13b2c50e 100644 --- a/DesktopEditor/common/SystemUtils.cpp +++ b/DesktopEditor/common/SystemUtils.cpp @@ -41,6 +41,9 @@ #ifdef CreateFile #undef CreateFile #endif +#ifdef GetSystemDirectory +#undef GetSystemDirectory +#endif #endif #if defined(_MAC) && !defined(_IOS)