--- qsampler/trunk/src/qsampler.cpp 2017/01/02 12:11:50 3065 +++ qsampler/trunk/src/qsampler.cpp 2017/10/17 21:44:20 3357 @@ -41,7 +41,7 @@ #define CONFIG_DATADIR CONFIG_PREFIX "/share" #endif -#if WIN32 +#if defined(_WIN32) #define RELATIVE_LOCALE_DIR "/share/locale" #elif defined(__APPLE__) #define RELATIVE_LOCALE_DIR "/../Resources"