avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Feb 2015 03:46:50 +0000 (04:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Feb 2015 03:52:52 +0000 (04:52 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/decklink_common.cpp

index 82b8bdb..ac7964c 100644 (file)
@@ -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];