diff --git a/src/gui/fileDialog.h b/src/gui/fileDialog.h index a8361b309..78d04fc26 100644 --- a/src/gui/fileDialog.h +++ b/src/gui/fileDialog.h @@ -3,9 +3,11 @@ #include #include "../pch.h" -#if defined(_WIN64) || defined(__APPLE__) +#if defined(_WIN32) || defined(_WIN64) || defined(__APPLE__) +#ifndef SUPPORT_XP #define USE_NFD #endif +#endif #ifdef USE_NFD #include