diff --git a/Utils.h b/Utils.h index 3d3e5285..65677be4 100644 --- a/Utils.h +++ b/Utils.h @@ -27,6 +27,8 @@ using std::vector; #define DEBUG_ONLY(f) ((void)0) #endif +#define DEBUG(f) DEBUG_ONLY(cout << f << endl) + static inline void SetFdCloseOnExec(int fd) { int flags = fcntl(fd, F_GETFD, 0);