File: debug.h

package info (click to toggle)
libchipcard 0.9.1-7sarge0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,100 kB
  • ctags: 3,331
  • sloc: ansic: 21,004; cpp: 14,526; sh: 10,639; makefile: 1,588; sed: 300
file content (26 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
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

#ifndef INCLUDED_DEBUG_H
#define INCLUDED_DEBUG_H

#ifdef DEBUG
#include <stdio.h>
#include <unistd.h>

#define m_dprintf(x...) printf(x)
#endif

#ifndef DEBUG
#define m_dprintf(x...)
#endif

#ifdef DEBUG2
#define m_dprintf2(x...) printf(x)
#endif


#ifndef DEBUG2
#define m_dprintf2(x...)
#endif


#endif