summaryrefslogtreecommitdiff
path: root/common.h
blob: 5e574c3dd53ed18a88ad6bfe3c3710d181af0abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * common.h: 'EnigmaNG' skin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __SKINENIGMA_COMMON_H
#define __SKINENIGMA_COMMON_H

#include <string>
#include <stdio.h>

#include <vdr/config.h>

// unset HAVE_FREETYPE if VDR version >=1.5.3
#ifdef HAVE_FREETYPE
#  if VDRVERSNUM > 10502
#    undef HAVE_FREETYPE
#  endif
#endif

#ifdef DEBUG
#define debug(x...) printf("EnigmaNG: " x);
#define error(x...) printf("EnigmaNG: " x);
#else
#define debug(x...) ;
#define error(x...) esyslog("EnigmaNG: " x);
#endif

#endif // __SKINENIGMA_COMMON_H
// vim:et:sw=2:ts=2: