diff --git a/source/modules/lilv/config/lilv_config.h b/source/modules/lilv/config/lilv_config.h index 62299b2d3..a9e2ef519 100644 --- a/source/modules/lilv/config/lilv_config.h +++ b/source/modules/lilv/config/lilv_config.h @@ -13,7 +13,7 @@ #define HAVE_FILENO 1 #define HAVE_CLOCK_GETTIME 1 -#ifdef __WIN32__ +#ifdef _WIN32 #define LILV_PATH_SEP ";" #define LILV_DIR_SEP "\\" #else @@ -28,7 +28,7 @@ #define LILV_DEFAULT_LV2_PATH "~/.lv2:/lv2" #elif defined(__HAIKU__) #define LILV_DEFAULT_LV2_PATH "~/.lv2:/system/add-ons/media/lv2plugins" -#elif defined(__WIN32__) +#elif defined(_WIN32) #define LILV_DEFAULT_LV2_PATH "%APPDATA%\\LV2;%COMMONPROGRAMFILES%\\LV2" #else #define LILV_DEFAULT_LV2_PATH "~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2" diff --git a/source/modules/lilv/config/serd_config.h b/source/modules/lilv/config/serd_config.h index 71fbf6cc8..f9edb4221 100644 --- a/source/modules/lilv/config/serd_config.h +++ b/source/modules/lilv/config/serd_config.h @@ -7,7 +7,7 @@ #define HAVE_FILENO 1 -#if defined(__APPLE__) || defined(__WIN32__) +#if defined(__APPLE__) || defined(_WIN32) // nothing #elif defined(__HAIKU__) #define HAVE_POSIX_MEMALIGN 1