summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.cpp
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-08 04:46:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-08 04:52:52 +0100
commit5ae140c04f027da708859bb046e032a593fd81ad (patch)
tree996f0016b4e9f73b3b547e8a084a283eab005cf8 /libavdevice/decklink_common.cpp
parent92d903afaa22319f3778dfadf079378f9e616f6c (diff)
downloadffmpeg-5ae140c04f027da708859bb046e032a593fd81ad.tar.gz
avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/decklink_common.cpp')
-rw-r--r--libavdevice/decklink_common.cpp2
1 files changed, 1 insertions, 1 deletions
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];