Browse Source

Use _WIN32 instead of __WIN32__ for internal lilv

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
7d04167083
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      source/modules/lilv/config/lilv_config.h
  2. +1
    -1
      source/modules/lilv/config/serd_config.h

+ 2
- 2
source/modules/lilv/config/lilv_config.h View File

@@ -13,7 +13,7 @@
#define HAVE_FILENO 1 #define HAVE_FILENO 1
#define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_GETTIME 1


#ifdef __WIN32__
#ifdef _WIN32
#define LILV_PATH_SEP ";" #define LILV_PATH_SEP ";"
#define LILV_DIR_SEP "\\" #define LILV_DIR_SEP "\\"
#else #else
@@ -28,7 +28,7 @@
#define LILV_DEFAULT_LV2_PATH "~/.lv2:/lv2" #define LILV_DEFAULT_LV2_PATH "~/.lv2:/lv2"
#elif defined(__HAIKU__) #elif defined(__HAIKU__)
#define LILV_DEFAULT_LV2_PATH "~/.lv2:/system/add-ons/media/lv2plugins" #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" #define LILV_DEFAULT_LV2_PATH "%APPDATA%\\LV2;%COMMONPROGRAMFILES%\\LV2"
#else #else
#define LILV_DEFAULT_LV2_PATH "~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2" #define LILV_DEFAULT_LV2_PATH "~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2"


+ 1
- 1
source/modules/lilv/config/serd_config.h View File

@@ -7,7 +7,7 @@


#define HAVE_FILENO 1 #define HAVE_FILENO 1


#if defined(__APPLE__) || defined(__WIN32__)
#if defined(__APPLE__) || defined(_WIN32)
// nothing // nothing
#elif defined(__HAIKU__) #elif defined(__HAIKU__)
#define HAVE_POSIX_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1


Loading…
Cancel
Save