summaryrefslogtreecommitdiff
path: root/src/util/debug.h
blob: 9ee7c5f3ff9d30d009bd228a57eb8620ce38cf15 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once


// Uncomment this to enable DEBUG() statements.
// #define ENABLE_DEBUG

#ifdef ENABLE_DEBUG
#define DEBUG(...) fprintf(stderr, ">> " __VA_ARGS__)
#else
#define DEBUG(...)
#endif