From 367a02b95a9ff49ac4197045ebc75deae2501004 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 7 Aug 2014 16:10:08 +0200 Subject: [PATCH] Correct handling of WINAPI families. --- coreapi/linphonecore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index e2c21e90a..8da07887e 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -76,10 +76,10 @@ static void linphone_core_free_hooks(LinphoneCore *lc); const char *linphone_core_get_nat_address_resolved(LinphoneCore *lc); static void toggle_video_preview(LinphoneCore *lc, bool_t val); -#ifdef WINAPI_FAMILY_PHONE_APP -#define SOUNDS_PREFIX "Assets/Sounds/" -#else +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #define SOUNDS_PREFIX +#else +#define SOUNDS_PREFIX "Assets/Sounds/" #endif /* relative path where is stored local ring*/ #define LOCAL_RING SOUNDS_PREFIX "rings/oldphone.wav"