From 5ae140c04f027da708859bb046e032a593fd81ad Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Feb 2015 04:46:50 +0100 Subject: [PATCH] avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__ Signed-off-by: Michael Niedermayer --- libavdevice/decklink_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_common.cpp b/libavdevice/decklink_common.cpp index 82b8bdb585..ac7964cd17 100644 --- a/libavdevice/decklink_common.cpp +++ b/libavdevice/decklink_common.cpp @@ -70,7 +70,7 @@ static char *dup_wchar_to_utf8(wchar_t *w) #define DECKLINK_STR OLECHAR * #define DECKLINK_STRDUP dup_wchar_to_utf8 #define DECKLINK_FREE(s) SysFreeString(s) -#elif __APPLE__ +#elif defined(__APPLE__) static char *dup_cfstring_to_utf8(CFStringRef w) { char s[256];