diff options
Diffstat (limited to 'socket-common.h')
-rw-r--r-- | socket-common.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/socket-common.h b/socket-common.h new file mode 100644 index 0000000..41d177e --- /dev/null +++ b/socket-common.h @@ -0,0 +1,16 @@ +#ifndef SOCKET_COMMON_H +#define SOCKET_COMMON_H + +#include <stdio.h> +#include <gio/gio.h> +#include <string.h> + +//#define DEBUG_ON - uncomment this to have debug messages + +#ifdef DEBUG_ON +#define g_print_debug(...) g_print(__VA_ARGS__) +#else +#define g_print_debug(...) {} +#endif + +#endif
\ No newline at end of file |