diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-08 04:46:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-08 04:52:52 +0100 |
commit | 5ae140c04f027da708859bb046e032a593fd81ad (patch) | |
tree | 996f0016b4e9f73b3b547e8a084a283eab005cf8 /libavdevice/decklink_common.cpp | |
parent | 92d903afaa22319f3778dfadf079378f9e616f6c (diff) | |
download | ffmpeg-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.cpp | 2 |
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]; |