[FFmpeg-cvslog] avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__
Michael Niedermayer
git at videolan.org
Sun Feb 8 05:01:24 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Feb 8 04:46:50 2015 +0100| [5ae140c04f027da708859bb046e032a593fd81ad] | committer: Michael Niedermayer
avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ae140c04f027da708859bb046e032a593fd81ad
---
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 82b8bdb..ac7964c 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];
More information about the ffmpeg-cvslog
mailing list