From 6d784c57d93250809e8a88fc55f6e05a052c853e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 6 May 2023 20:55:42 +0200 Subject: [PATCH] Use _WIN32 instead of __WIN32__ for internal lilv Signed-off-by: falkTX --- source/modules/lilv/config/lilv_config.h | 4 ++-- source/modules/lilv/config/serd_config.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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