VLC_Prefix.pch 674 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // Prefix header for all source files of the 'VLC' target in the 'VLC' project.
  3. //
  4. #ifdef __OBJC__
  5. # import <Cocoa/Cocoa.h>
  6. # import "VLCHelperCode.h"
  7. #endif
  8. #ifdef HAVE_CONFIG_H
  9. # include "config.h"
  10. #endif
  11. #include <vlc/vlc.h>
  12. #include <vlc/libvlc.h>
  13. #ifndef NDEBUG
  14. #define VKLog(format, ...) NSLog(format, ## __VA_ARGS__)
  15. #else
  16. #define VKLog(format, ...)
  17. #endif
  18. #ifndef N_
  19. #define N_(str) gettext_noop(str)
  20. #define gettext_noop(str) (str)
  21. #endif
  22. #ifndef NS_DESIGNATED_INITIALIZER
  23. #if __has_attribute(objc_designated_initializer)
  24. #define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer))
  25. #else
  26. #define NS_DESIGNATED_INITIALIZER
  27. #endif
  28. #endif