1#ifndef NINEDEBUG_H
2#define NINEDEBUG_H
3
4#include <stdio.h>
5
6#define DEBUG_PRINT(...) printf(__VA_ARGS__)
7
8#if ENABLE_DEBUG
9 #define DEBUG(...) DEBUG_PRINT(__VA_ARGS__)
10#else
11 #define DEBUG(...)
12#endif
13
14#endif
Client implementation of the 9P protocol for constrained devices
git clone https://git.8pit.net/ninenano.git
1#ifndef NINEDEBUG_H
2#define NINEDEBUG_H
3
4#include <stdio.h>
5
6#define DEBUG_PRINT(...) printf(__VA_ARGS__)
7
8#if ENABLE_DEBUG
9 #define DEBUG(...) DEBUG_PRINT(__VA_ARGS__)
10#else
11 #define DEBUG(...)
12#endif
13
14#endif