summaryrefslogtreecommitdiff
path: root/common.h
blob: 0d23e7868db55e3c0fb278fab37cd39c72da8eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * common.h: The 'EnigmaNG' VDR skin
 *
 * See the README file for copyright information and how to reach the author.
 *
 */

#ifndef __SKINENIGMA_COMMON_H
#define __SKINENIGMA_COMMON_H

#include <string>
#include <vdr/tools.h>

#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