File: RdfindDebug.hh

package info (click to toggle)
rdfind 1.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 516 kB
  • ctags: 227
  • sloc: cpp: 1,671; sh: 1,080; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#include "config.h"

//debug macros. pass  --enable-debug=yes to configure to enable it
#ifdef RDFIND_DEBUG
#include <iostream> // for std::cerr
# define RDDEBUG(args) if(1) {			\
    std::cerr<<__FILE__<<" "<<__LINE__<<":"<<args;	\
  }
#else
# define RDDEBUG(args) if(0) {			\
  }
#endif