VLC_Prefix.pch 681 Bytes
Newer Older
1 2 3 4 5 6
//
// Prefix header for all source files of the 'VLC' target in the 'VLC' project.
//


#ifdef __OBJC__
Pierre's avatar
Pierre committed
7
#  import <Cocoa/Cocoa.h>
8 9
#endif

10 11 12 13
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

14 15 16 17
#include <vlc/vlc.h>
#include <vlc/libvlc_structures.h>
#include <vlc/libvlc.h>

18 19 20 21 22
#ifndef NDEBUG
#define VKLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define VKLog(format, ...)
#endif
23 24 25 26 27

#ifndef N_
#define N_(str) gettext_noop(str)
#define gettext_noop(str) (str)
#endif
28 29 30 31 32 33 34 35

#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