Showing the changes to libavdevice/decklink_common.cpp (1 of 1 file). Show all
Unified · Split
| @@ -70,7 +70,7 @@ static char *dup_wchar_to_utf8(wchar_t *w) · 69 unmodified lines | |||
| 70 | #define DECKLINK_STR OLECHAR * | 70 | #define DECKLINK_STR OLECHAR * |
| 71 | #define DECKLINK_STRDUP dup_wchar_to_utf8 | 71 | #define DECKLINK_STRDUP dup_wchar_to_utf8 |
| 72 | #define DECKLINK_FREE(s) SysFreeString(s) | 72 | #define DECKLINK_FREE(s) SysFreeString(s) |
| 73 | #elif __APPLE__ | 73 | #elif defined(__APPLE__) |
| 74 | static char *dup_cfstring_to_utf8(CFStringRef w) | 74 | static char *dup_cfstring_to_utf8(CFStringRef w) |
| 75 | { | 75 | { |
| 76 | char s[256]; | 76 | char s[256]; |