mirror of https://git.ffmpeg.org/ffmpeg.git
avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
92d903afaa
commit
5ae140c04f
|
@ -70,7 +70,7 @@ static char *dup_wchar_to_utf8(wchar_t *w)
|
||||||
#define DECKLINK_STR OLECHAR *
|
#define DECKLINK_STR OLECHAR *
|
||||||
#define DECKLINK_STRDUP dup_wchar_to_utf8
|
#define DECKLINK_STRDUP dup_wchar_to_utf8
|
||||||
#define DECKLINK_FREE(s) SysFreeString(s)
|
#define DECKLINK_FREE(s) SysFreeString(s)
|
||||||
#elif __APPLE__
|
#elif defined(__APPLE__)
|
||||||
static char *dup_cfstring_to_utf8(CFStringRef w)
|
static char *dup_cfstring_to_utf8(CFStringRef w)
|
||||||
{
|
{
|
||||||
char s[256];
|
char s[256];
|
||||||
|
|
Loading…
Reference in New Issue