31 |
#endif |
#endif |
32 |
#include <limits.h> /* PATH_MAX */ |
#include <limits.h> /* PATH_MAX */ |
33 |
|
|
34 |
#define VERSION "1.4.1" |
#define VERSION "1.5.0" |
35 |
|
|
36 |
#ifdef WITH_DEBUG |
#ifdef WITH_DEBUG |
37 |
#define DEBUG(args) printf args; |
#define DEBUG(args) printf args; |
57 |
#define DEBUG_CLIPBOARD(args) |
#define DEBUG_CLIPBOARD(args) |
58 |
#endif |
#endif |
59 |
|
|
60 |
|
#ifdef WITH_DEBUG_SOUND |
61 |
|
#define DEBUG_SOUND(args) printf args; |
62 |
|
#else |
63 |
|
#define DEBUG_SOUND(args) |
64 |
|
#endif |
65 |
|
|
66 |
#ifdef WITH_DEBUG_CHANNEL |
#ifdef WITH_DEBUG_CHANNEL |
67 |
#define DEBUG_CHANNEL(args) printf args; |
#define DEBUG_CHANNEL(args) printf args; |
68 |
#else |
#else |
69 |
#define DEBUG_CHANNEL(args) |
#define DEBUG_CHANNEL(args) |
70 |
#endif |
#endif |
71 |
|
|
72 |
|
#ifdef WITH_DEBUG_SCARD |
73 |
|
#define DEBUG_SCARD(args) printf args; |
74 |
|
#else |
75 |
|
#define DEBUG_SCARD(args) |
76 |
|
#endif |
77 |
|
|
78 |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
79 |
|
|
80 |
#ifndef MIN |
#ifndef MIN |