Commit 10b5319c authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCKit: fix compilation with Xcode 5

parent 64ac56f4
......@@ -25,3 +25,11 @@
#define N_(str) gettext_noop(str)
#define gettext_noop(str) (str)
#endif
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment