File: debug.h

package info (click to toggle)
etherdfs-server 0~20180203-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: ansic: 1,259; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Part of ethersrv-linux
 */

/* set to 1 to enable debug */
#define DEBUG 0

/* set to 1 for frame loss simulation (for tests only!) */
#define SIMLOSS 0

/* do not modify the magic below */

#if DEBUG > 0

#define DBG printf

#else

#define DBG(...)

#endif